js-rle
v0.0.4
Published
RLE+ encoding/decoding
Downloads
12
Readme
JS-RLE
A Javascript implementation of the RLE+ Spec. See: https://github.com/filecoin-project/specs/blob/master/data-structures.md#rle-bitset-encoding
Install
npm install js-rle
Usage
const RLE = require('js-rle');
let encoded = RLE.Encode(buffer);
let decoded = RLE.Decode(encoded);
The interface expects the JS ArrayBuffer
type.
Maintainers
Contributing
Feel free to dive in! Open an issue or submit PRs.
License
MIT © Will Scott