Showing 1-20 of 46 packages
Easy-to-use bitfields for Node.js and browsers.
Compact codec for bitfields
A run-length-encoder that compresses bitfields.
Enums, BitFlags, BitFields, BitMasks and BitArrays for JavaScript & TypeScript
JS Binary Data API. Structs, arrays, bitfields, and numbers. Reify and Reference like nobody's business.
This library provides a simple way to define and serialize data structures (structs) with support for both regular fields and bitfields
@paqujs/bitfields
Efficient dynamic bitfields
Library for interacting with bitfields from the Discord API.
Declaratively encode and decode binary data
Bitfield that allocates a series of small buffers to support sparse bits without allocating a massive buffer
Declaratively encode and decode binary data
```ts class GroupPermissions extends bitfields.Bitfield<typeof GroupPermissions['Flags']> { static Flags = { 'create:post_content': bitfields.bit(0), // (1n << 0n) -> 0n, 'read:post_content': bitfields.bit(1), // (1n << 1n) -> 1n,
C-style struct, union and bitfield read/write views of ArrayBuffers
Creates C `struct` instances on `Buffer`s. Supports `union`s and bitfields.
Universal module for everything.
Библиотека для работы с флагами
Declaratively encode and decode binary data
Variable sized bitfield that allows you to quickly iterate over bits