结构
用打字稿编写的二进制数据解包库。 同时支持节点和dom。
它能做什么?
读:
原语:Int8 | UInt8 | Int16BE | Int16LE | UInt16BE | UInt16LE | Int32BE | Int32LE | UInt32BE | UInt32LE,
大量:BigInt64BE | BigInt64LE | BigUInt64BE | BigUInt64LE,
小数:DoubleBE | DoubleLE | FloatBE | FloatLE;
使用内置助手处理布尔值和字符串;
搜索二进制数据;
带有ts类型提示的完全可定制的数据结构;
用法
interface TextChunk {
length : number ,
data : string
}
const [ Byte , Char ] = [ Primitive