- <init>
- get
Returns boolean value for a bit on specific position. Index is counted from the
rightmost bit as 0 t
- set
If the value given is TRUE, sets bit on given position. Checks for null value.
Index is counted from
- toByteBuf
Writes backing array to given ByteBuf, even if the backing array is empty, to
preserve the number of
- valueOf
Returns a new BitArray with given byte array as backing array.
- array
Returns the backing byte array of this bitset
- toByte
If possible, returns one byte as backing array.
- calculateBytes
Calculates the size in bytes necessary for given number of bits.
- mask
Returns a byte where only one bit is set