class TLV::Header::Context

Defined in:

tlv/header.cr

Constant Summary

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 Method Summary

Macro Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

Macro Detail

macro tlv_header(name, onlyif = nil, verify = nil, value = nil) #

macro tlv_header_context(name, onlyif = nil, verify = nil, value = nil) #

Instance Method Detail

def __format__ : IO::ByteFormat #

def parent #

Group fields might need access to data in the parent


[View source]
def parent=(parent : TLV::Header | Nil) #

Group fields might need access to data in the parent


def tag_id : UInt8 #

def tag_id=(tag_id : UInt8) #