0.3.1 • Published 3 years ago
@litert/binary v0.3.1
LiteRT/Binary
The binary data operate library for LiteRT.
This library currently provides following components:
BufferReader: A helper ofBufferthat controls the reading position automatically.BufferWriter: A helper ofBufferthat controls the writing position automatically.AlignedBufferReader: An implement ofBufferReaderwith C-struct-like alignment supports.AlignedBufferWriter: An implement ofBufferWriterwith C-struct-like alignment supports.SyncFileReader: A helper ofFilethat controls the reading position automatically, using synchronous IO.SyncFileBufferReader: A helper ofFilethat controls the reading position automatically, using buffer to reduce the synchronous IO.AsyncFileReader: A helper ofFilethat controls the reading position automatically, using asynchronous IO.AsyncFileBufferReader: A helper ofFilethat controls the reading position automatically, using buffer to reduce the asynchronous IO.SyncFileWriter: A helper ofFilethat controls the writing position automatically, using synchronous IO.SyncFileBufferWriter: A helper ofFilethat controls the writing position automatically, using buffer to reduce the synchronous IO.AsyncFileWriter: A helper ofFilethat controls the writing position automatically, using asynchronous IO.AsyncFileBufferWriter: A helper ofFilethat controls the writing position automatically, using buffer to reduce the asynchronous IO.
Installation
npm install @litert/binary --saveRequirements
- Node.js v14.x (Or newer)
- TypeScript v4.1.x (Or newer)
License
This library is published under Apache-2.0 license.