BACnet::Message::Secure::BVLCI::Result::Error
possibly result_code == 0x01
Constants
AFTER_DESERIALIZE = [] of Nil
possibly result_code == 0x01
BEFORE_SERIALIZE = [] of Nil
possibly result_code == 0x01
ENDIAN = ["big"]
possibly result_code == 0x01
KLASS_NAME = [BACnet::Message::Secure::BVLCI::Result::Error]
possibly result_code == 0x01
PARTS = [{type: "basic", name: header_marker, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: class, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: code, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil
possibly result_code == 0x01
REMAINING = [{type: "bytes", name: message_bytes, onlyif: nil, verify: nil}] of Nil
possibly result_code == 0x01
Class methods
bit_fields
possibly result_code == 0x01
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.
class
Returns the runtime Class of an object.
1.class # => Int32
"hello".class # => String
Compare it with typeof, which returns the compile-time type of an object:
random_value = rand # => 0.627423
value = random_value < 0.5 ? 1 : "hello"
value # => "hello"
value.class # => String
typeof(value) # => Int32 | String
class=(class __arg0 : UInt16)
code
code=(code : UInt16)
header_marker
header_marker=(header_marker : UInt8)
message_bytes
message_bytes=(message_bytes : Bytes)
Group fields might need access to data in the parent