Skip to content

🚀 encode and decode utf8 to gbk string as fast as possible

License

Notifications You must be signed in to change notification settings

song940/fast-gbk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fast-gbk

encode and decode utf8 to gbk string as fast as possible

fast-gbk Build Status

Installation

$ npm install fast-gbk

Example

const { encode, decode } = require('fast-gbk');

const str = '你好,世界!';

const arr = encode(str);

console.log(decode(arr));

Contributing

  • Fork this Repo first
  • Clone your Repo
  • Install dependencies by $ npm install
  • Checkout a feature branch
  • Feel free to add your features
  • Make sure your features are fully tested
  • Publish your local branch, Open a pull request
  • Enjoy hacking <3

MIT

This work is licensed under the MIT license.


About

🚀 encode and decode utf8 to gbk string as fast as possible

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published