class
Matter::Schema::ByteArrayBitmapSchema(T)
- Matter::Schema::ByteArrayBitmapSchema(T)
- Reference
- Object
Overview
ByteArrayBitmapSchema works with byte arrays instead of integers Used for bitmaps that span multiple bytes
Defined in:
matter/schema/bitmap_schema.crConstructors
Instance Method Summary
-
#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
Constructor Detail
Instance Method Detail
def decode(bitmap : Bytes) : Hash(String, Bool | Int32)
#
Decode a byte array to a named hash of field values
def encode(values : Hash(String, Bool | Int32 | Int64)) : Bytes
#
Encode a named hash of field values to a byte array