class
TLV::Header::Common
- TLV::Header::Common
- BinData
- Reference
- Object
Overview
Common Profile - 2 bytes profile + 2 bytes tag
Defined in:
tlv/header.crConstant Summary
-
AFTER_DESERIALIZE =
[] of Nil -
Common Profile - 2 bytes profile + 2 bytes tag
-
BEFORE_SERIALIZE =
[] of Nil -
Common Profile - 2 bytes profile + 2 bytes tag
-
ENDIAN =
["little"] -
Common Profile - 2 bytes profile + 2 bytes tag
-
KLASS_NAME =
[TLV::Header::Common] -
Common Profile - 2 bytes profile + 2 bytes tag
-
PARTS =
[{type: "basic", name: profile_id, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: tag_id, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil -
Common Profile - 2 bytes profile + 2 bytes tag
-
REMAINING =
[] of Nil -
Common Profile - 2 bytes profile + 2 bytes tag
Class Method Summary
-
.bit_fields
Common Profile - 2 bytes profile + 2 bytes tag
Macro Summary
-
tlv_header(name, onlyif = nil, verify = nil, value = nil)
Common Profile - 2 bytes profile + 2 bytes tag
-
tlv_header_common(name, onlyif = nil, verify = nil, value = nil)
Common Profile - 2 bytes profile + 2 bytes tag
-
tlv_header_context(name, onlyif = nil, verify = nil, value = nil)
Common Profile - 2 bytes profile + 2 bytes tag
Instance Method Summary
- #__format__ : IO::ByteFormat
-
#parent
Group fields might need access to data in the parent
-
#parent=(parent : TLV::Header | Nil)
Group fields might need access to data in the parent
- #profile_id : UInt16
- #profile_id=(profile_id : UInt16)
- #tag_id : UInt16
- #tag_id=(tag_id : UInt16)
Class Method Detail
Macro Detail
Common Profile - 2 bytes profile + 2 bytes tag
Common Profile - 2 bytes profile + 2 bytes tag
Common Profile - 2 bytes profile + 2 bytes tag