mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
4400efeb9f
`gcc -W` doesn't error for e.g. u16 == i32, only for u32 == i16. Any u16 value can fit in an i32. |
||
---|---|---|
.. | ||
bitfield_test.v | ||
bitfield.v | ||
README.md |
Description:
bitfield
is a module for manipulating arrays of bits,
i.e. series of zeroes and ones spread across an
array of storage units (unsigned 32-bit integers).
BitField Structure
Bit arrays are stored in data structures called 'BitField'. The structure is 'opaque', i.e. its internals are not available to the end user. This module provides API (functions and methods) for accessing and modifying bit arrays.