GLEB128 is a small Gleam library that provides functions for encoding and decoding LEB128 (Little Endian Base 128) integers.
MIT License
Full Changelog: https://github.com/BrendoCosta/gleb128/compare/v2.0.1...v2.1.0
Published by BrendoCosta about 2 months ago
fast_decode_unsigned
and fast_decode_signed
leading to incorrect values on big-endian CPUs. The package is now properly tested in a big-endian environment (s390x running alpine:edge).Full Changelog: https://github.com/BrendoCosta/gleb128/compare/v2.0.0...v2.0.1
Published by BrendoCosta 3 months ago
decode_native_signed_integer
, decode_native_unsigned_integer
and get_cpu_endianness
functions are now hidden from the library's public API;Error("Invalid LEB128 integer")
instead of Error("Can't get the bit array slice")
;README.md
usage guide;CHANGELOG.md
.Full Changelog: https://github.com/BrendoCosta/gleb128/compare/v1.0.0...v2.0.0