Matter::Cluster::LabelStruct
Inherits JSON::Serializable < TLV::Serializable < Struct < Value < Object
Shared struct for FixedLabel (0x0040) and UserLabel (0x0041) clusters.
Constructors
new(label : String, value : String)
Sourcenew(any : TLV::Any)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceClass methods
from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Sourcefrom_slice(bytes : Bytes)
Sourcefrom_tlv(any : TLV::Any)
Sourcefrom_tlv(data : Bytes)
SourceInstance methods
label
Sourcelabel=(label : String)
Sourceto_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Sourceto_slice
Sourceto_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Sourcevalue
Sourcevalue=(value : String)
Source