@codec-bytes/ascii
v3.0.0
Published
ASCII encoder/decoder for JavaScript
Downloads
164
Maintainers
Readme
:fax: @codec-bytes/ascii
ASCII encoder/decoder for JavaScript. See docs. Parent is @codec-bytes/about.
import {encode, decode} from '@codec-bytes/ascii'
encode('hello, world'); // [104, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100]
decode([104, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100]); // 'hello, world'