LiteRT/Binary
![GitHub Releases](https://img.shields.io/github/release/litert/binary.js.svg)
The binary data operate library for LiteRT.
This library currently provides following components:
BufferReader
: A helper of Buffer
that controls the reading position automatically.BufferWriter
: A helper of Buffer
that controls the writing position automatically.AlignedBufferReader
: An implement of BufferReader
with C-struct-like alignment supports.AlignedBufferWriter
: An implement of BufferWriter
with C-struct-like alignment supports.
Installation
npm install @litert/binary --save
Requirements
- Node.js v14.x (Or newer)
- TypeScript v4.1.x (Or newer)
License
This library is published under Apache-2.0 license.