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.
npm install @litert/binary --save- Node.js v14.x (Or newer)
- TypeScript v4.1.x (Or newer)
This library is published under Apache-2.0 license.