🧩Declarative schemasDescribe a layout with a plain object and concise field strings such as u32le, f64be, or utf8[32].
🛡️Type-safeParameterize a struct with an interface and let TypeScript check the objects you encode and decode.
🔢Rich numeric types8, 16, 32, and 64-bit integers (64-bit as bigint) plus single and double floats, each with explicit endianness.
🧵Strings and arraysFixed-size strings, multi-dimensional arrays, and variable-length text stored on the heap behind a pointer.
📥Heap pointersVariable-length fields live in a heap region behind a pointer, with a configurable 1, 2, 4, 6, or 8-byte pointer size.
⚡Bitfields and unionsPack sub-byte fields into a shared container, and overlap members at offset 0 with a union.