class Plate

Defined in:

6_speed_daemon.cr

Constant Summary

ENDIAN = ["big"]
KLASS_NAME = [Plate]
PARTS = [{type: "basic", name: type, cls: UInt8, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: plate_len, cls: UInt8, onlyif: nil, verify: nil, value: -> do plate.bytesize end}, {type: "string", name: plate, cls: String, onlyif: nil, verify: nil, length: -> do plate_len end, value: nil, encoding: nil}, {type: "basic", name: timestamp, cls: UInt32, onlyif: nil, verify: nil, value: nil}] of Nil
REMAINING = [] of Nil

Class Method Summary

Instance Method Summary

Macro Summary

Class Method Detail

def self.bit_fields #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def plate : String #

def plate=(plate : String) #

def plate_len : UInt8 #

def plate_len=(plate_len : UInt8) #

def timestamp : UInt32 #

def timestamp=(timestamp : UInt32) #

def type : UInt8 #

def type=(type : UInt8) #

Macro Detail

macro data(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro error(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro plate(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro response(name, onlyif = nil, verify = nil, value = nil) #

[View source]