bytecode

1.1.0 • Public • Published

bytecode

Build status NPM version Downloads Dependency Status

Test coverage

Decode or Encode utf8 byte code rather than char code, support all unicode

Installation

npm i bytecode

Usage

var byteCode = require('bytecode')
 
byteCode.decode('中文')
// => [228, 184, 173, 230, 150, 135]
 
byteCode.encode([97, 98, 99])
// => 'abc'

License

License

Readme

Keywords

none

Package Sidebar

Install

npm i bytecode

Weekly Downloads

6

Version

1.1.0

License

ISC

Last publish

Collaborators

  • ftft1885