class

BinData::BitField

Inherits Reference / Object

Constructors

new

NOTE: a BitField holds only immutable layout (@bitsize/@mappings), set once at class-definition time. read/write keep no per-operation state, so the per-class instance can be shared across fibers safely.

Source

Instance methods

apply
Source
bits(size, name)
Source
read(input, format) : Hash(String, Value)
Source
shift(buffer, num_bits, start_byte = 0)
Source
write(io, format, values : Hash(String, Value))

ameba:disable Metrics/CyclomaticComplexity

Source

Nested types