BACnet::NPDU::Source
Constants
AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [BACnet::NPDU::Source]
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 methods
bit_fields
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.
address
address=(address : Bytes)
address_length
address_length=(address_length : UInt8)
network
network=(network : UInt16)
Group fields might need access to data in the parent