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

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::Proprietary]
PARTS = [{type: "basic", name: vendor_id, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: type, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "bytes", name: data, cls: Slice(UInt8), onlyif: nil, verify: nil, length: -> do parent.data_length - 3 end, value: nil}] of Nil
REMAINING = [] of Nil

Class Method Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

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.


def data : Bytes #

def data=(data : Bytes) #

def parent #

Group fields might need access to data in the parent


[View source]
def parent=(parent : BACnet::Message::Secure::BVLCI::Header | Nil) #

Group fields might need access to data in the parent


def type : UInt8 #

def type=(type : UInt8) #

def vendor_id : UInt16 #

def vendor_id=(vendor_id : UInt16) #