class BACnet::NPDU::Destination

Defined in:

bacnet/npdu.cr

Constant Summary

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [BACnet::NPDU::Destination]
PARTS = [{type: "basic", name: network, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: address_length, cls: UInt8, onlyif: nil, verify: nil, value: -> do address.size end, endian: nil}, {type: "bytes", name: address, cls: Slice(UInt8), onlyif: nil, verify: nil, length: -> do address_length 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 address : Bytes #

def address=(address : Bytes) #

def address_length : UInt8 #

def address_length=(address_length : UInt8) #

def network : UInt16 #

def network=(network : UInt16) #

def parent #

Group fields might need access to data in the parent


[View source]
def parent=(parent : BACnet::NPDU | Nil) #

Group fields might need access to data in the parent