class

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

Inherits BinData < Reference < Object

Constants

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
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 methods

bit_fields
Source

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.

Source
data
data=(data : Bytes)
data_length
data_length=(data_length : UInt16)
header_data
Source
header_data=(header_data : UInt8)
header_data=(value : Bool)
Source
header_type
Source
header_type=(header_type : UInt8)
more_headers
Source
more_headers=(more_headers : UInt8)
more_headers=(value : Bool)
Source
must_understand
Source
must_understand=(must_understand : UInt8)
must_understand=(value : Bool)
Source
proprietary

Nested types