class BACnet::Message::Secure::BVLCI::Header

Defined in:

bacnet/virtual_link_control/secure_bvlci.cr

Constant Summary

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [BACnet::Message::Secure::BVLCI::Header]
PARTS = [{type: "bitfield", name: 12, cls: BACnet::Message::Secure::BVLCI::Header, onlyif: nil, verify: nil, endian: IO::ByteFormat::BigEndian}, {type: "basic", name: data_length, cls: UInt16, onlyif: -> do header_data end, verify: nil, value: -> do header_type.proprietary? ? (proprietary.data.size + 3) : data.size end, endian: nil}, {type: "bytes", name: data, cls: Slice(UInt8), onlyif: -> do header_data && !header_type.proprietary? end, verify: nil, length: -> do data_length end, value: nil}, {type: "group", name: proprietary, cls: Proprietary, onlyif: -> do header_data && header_type.proprietary? end, verify: nil, value: nil}] of Nil
REMAINING = [] of Nil

Class Method Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

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.


[View source]
def data : Bytes #

def data=(data : Bytes) #

def data_length : UInt16 #

def data_length=(data_length : UInt16) #

def header_data : Bool #

[View source]
def header_data=(header_data : UInt8) #

def header_data=(value : Bool) #

[View source]

[View source]
def header_type=(header_type : UInt8) #


[View source]
def more_headers : Bool #

[View source]
def more_headers=(more_headers : UInt8) #

def more_headers=(value : Bool) #

[View source]
def must_understand : Bool #

[View source]
def must_understand=(must_understand : UInt8) #

def must_understand=(value : Bool) #

[View source]

def proprietary=(proprietary : BACnet::Message::Secure::BVLCI::Header::Proprietary) #