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-1121 days ago8 downloads
1.4-1141 days ago14 downloads
1.3-1142 days ago3 downloads
1.2-1143 days ago0 downloads
1.1-1143 days ago1 download
1.0-1143 days ago1 download

Dependencies

lua >= 5.1

Labels

Manifests