Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@tubular/array-buffer-reader

kshetline324MIT3.0.4TypeScript support: included

Read from an array or ArrayBuffer like a binary input stream.

array, arraybuffer, binary, data, stream

readme

ArrayBuffer Reader

Provides a class for reading a byte array or ArrayBuffer as a binary stream.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run npm run test to execute the unit tests.

changelog

3.0.3

  • Fixed reading of 4-byte UTF-8 codepoints.
  • 100% test coverage.
  • Updated packaging of ESM/CJS/UMD.