A binary stream module for packing binary data. roblox-ts typings for bitbuffer by Dekkonot.
npm install @rbxts/bitbufferTS typings for Dekkonot's BitBuffer implementation.
- BitBuffer repository
- BitBuffer documentation
- This package's repository

Run npm i @rbxts/bitbuffer in your project directory.
``ts
import BitBuffer from "@rbxts/bitbuffer";
const buffer = BitBuffer();
buffer.writeBits(1, 0);
``
---
To contribute to BitBuffer, please file Pull Requests and Issues in its GitHub repository, and not in the repository of this package. The types here will reflect the most recent release of the Luau code.