class BACnet::ConfirmedRequest::Segment

Defined in:

bacnet/services/confirmed_request.cr

Constant Summary

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [BACnet::ConfirmedRequest::Segment]
PARTS = [{type: "basic", name: sequence_number, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: window_size, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: 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 parent #

Group fields might need access to data in the parent


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

Group fields might need access to data in the parent


def sequence_number : UInt8 #

def sequence_number=(sequence_number : UInt8) #

def window_size : UInt8 #

def window_size=(window_size : UInt8) #