class Matter::DataType::FabricIndex

Defined in:

matter/datatype/fabric_index.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_slice(bytes : Bytes) : FabricIndex #

Deserialize from TLV bytes


[View source]
def self.new(index : UInt8 | Nil) #

[View source]

Instance Method Detail

def brand : String #

[View source]
def index : UInt8 | Nil #

If nil then OMIT_FABRIC and if 0 then NO_FABRIC


[View source]
def index=(index : UInt8 | Nil) #

If nil then OMIT_FABRIC and if 0 then NO_FABRIC


[View source]
def to_slice : Bytes #

Serialize to TLV bytes (anonymous UInt8)


[View source]