mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 19:29:39 +00:00
a6e25cffde
Strange as it is but I wasn't able to find any good bit field implementation. Most of them are limited to 64 bits, some allow for wider values (like https://github.com/emef/bitfield) but even they're not that efficient (using bytes instead of wider types). This this minimalistic thing. |
||
---|---|---|
.. | ||
bitfield.go | ||
bitfield_test.go |