ExBin - Binary helpers for dealing with bits and bytes in Elixir

I just released my first package to Hex!

ex_bin is a small, lightweight library for providing the helpers you’ve always wanted for interacting on the low level of bits and bytes. Elixir’s standard binary type is excellent when powered with matching; however, it always felt like the standard library was somewhat lacking in “included batteries” when it came to actually utilizing the binary type.

So, to circumvent a frequent repetition of patterns for handling bits/bytes, I started ExBin to allow you to access specific bytes, specific bits, stream them, format them, etc.

The library is an infant right now, so I would love to get any feedback from the community: what do you like, what do you dislike, do you think it could be useful, and what suggestions do you have?

Thank you!

5 Likes