class BACnet::BitString

Defined in:

bacnet/objects/bit_string.cr

Constant Summary

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [BACnet::BitString]
PARTS = [{type: "basic", name: ignore, cls: UInt8, onlyif: nil, verify: nil, value: nil, endian: nil}] of Nil
REMAINING = [{type: "bytes", name: bitdata, onlyif: nil, verify: nil}] of Nil

Class Method Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

[View source]

Instance Method Detail

def [](index : Int) : Bool #

[View source]
def []=(index : Int, state : Bool) #

[View source]
def []?(index : Int) : Bool #

[View source]
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.


[View source]
def bitdata : Bytes #

def bitdata=(bitdata : Bytes) #

def ignore : UInt8 #

def ignore=(ignore : UInt8) #

def size #

[View source]
def to_s(io) #

[View source]