struct
Matter::Cluster::LabelStruct
- Matter::Cluster::LabelStruct
- Struct
- Value
- Object
Overview
Shared struct for FixedLabel (0x0040) and UserLabel (0x0041) clusters.
Included Modules
- JSON::Serializable
- TLV::Serializable
Defined in:
matter/cluster/definitions/label_struct.crConstructors
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
- .from_tlv(data : Bytes)
Instance Method Summary
- #label : String
- #label=(label : String)
- #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
- #value : String
- #value=(value : String)
Constructor Detail
Class Method Detail
Instance Method Detail
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#