bitarray

Bit array library for lua

$ luarocks install bitarray

A simple bit array (or bit set, bit string, boolean vector, ... whatever) data structure for Lua written in pure C.
* Array bit access using overloaded `[]` operators, concatenation with `..`, as well as `&, |, ~` for bit operations (5.3+).
* Object-oriented access. Method chaining is available.
* Conversion between bitarray and unsigned integers (big-endian).

Versions

1.5-11 year ago50 downloads
1.4-12 years ago15 downloads
1.3-12 years ago4 downloads
1.2-12 years ago1 download
1.1-12 years ago2 downloads
1.0-12 years ago2 downloads

Dependencies

lua >= 5.1

Labels

Manifests