zoom-hex
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

js二级制计算

安装

yarn add zoom-hex

使用

split(包,长度),将打包分成小包 (ArrayBuffer)

str2bytes : string=>Uint8Array

str2hex :string=>ArrayBuffer

toDigist : number=>string 16进制

hex2str(hex,start,len) ArrayBuffer/Uint8Array/Array => string  将start开始的len长度的二进制,转为hex string

copyOf : 拷贝ArrayBuffer/Uint8Array/Array

/zoom-hex/

    Package Sidebar

    Install

    npm i zoom-hex

    Weekly Downloads

    4

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    15 kB

    Total Files

    11

    Last publish

    Collaborators

    • jzoom