Matter::Schema::ByteArrayBitmapSchema(T)
Inherits Reference < Object
ByteArrayBitmapSchema works with byte arrays instead of integers Used for bitmaps that span multiple bytes
Constructors
new(fields : Hash(String, BitFlag | BitField))
SourceInstance methods
decode(bitmap : Bytes) : Hash(String, Bool | Int32)
Decode a byte array to a named hash of field values
encode(values : Hash(String, Bool | Int32 | Int64)) : Bytes
Encode a named hash of field values to a byte array