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

Package detail

@oslojs/binary

oslo-project465.2kMIT1.0.0TypeScript support: included

Basic primitives for working with binary data

auth, binary

readme

changelog

@oslojs/binary

0.4.0

  • [Breaking] Update ByteOrder.uint8(), ByteOrder.uint16(), ByteOrder.uint32(), and ByteOrder.uint64().
  • [Breaking] ByteOrder.uint8(), ByteOrder.uint16(), ByteOrder.uint32(), and ByteOrder.uint64() throws an TypeError on invalid values.

0.3.0

  • [Breaking] Remove concatenateBytesInto(), and(), or(), xor(), and not().

0.2.3

  • Add bigIntBytes() and bigIntFromBytes().

0.2.2

  • Add DynamicBuffer.writeByte().

0.2.1

  • Add DynamicBuffer.