class

TLV::Header::Context

Inherits BinData < Reference < Object

Constants

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["little"]
KLASS_NAME = [TLV::Header::Context]
PARTS = [{type: "basic", name: tag_id, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil
REMAINING = [] of Nil

Class methods

bit_fields

Instance methods

__format__

A group or bit_field captures the endianness at its declaration point, so declaring endian after one would silently leave it system-endian. Fail loudly.

parent

Group fields might need access to data in the parent

Source
parent=(parent : TLV::Header | Nil)

Group fields might need access to data in the parent

tag_id
tag_id=(tag_id : UInt8)