class BACnet::Message::Secure::BVLCI::Result::Error

Overview

possibly result_code == 0x01

Defined in:

bacnet/virtual_link_control/secure_bvlci.cr

Constant Summary

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 Method Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

possibly result_code == 0x01


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 class : UInt16 #
Description copied from class Object

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

def class=(class __arg0 : UInt16) #

def code : UInt16 #

def code=(code : UInt16) #

def header_marker : UInt8 #

def header_marker=(header_marker : UInt8) #

def message_bytes : Bytes #

def message_bytes=(message_bytes : Bytes) #

def parent #

Group fields might need access to data in the parent


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

Group fields might need access to data in the parent