class Plate
- Plate
- BinData
- Reference
- Object
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
-
data(name, onlyif = nil, verify = nil, value = nil)
-
error(name, onlyif = nil, verify = nil, value = nil)
-
plate(name, onlyif = nil, verify = nil, value = nil)
-
response(name, onlyif = nil, verify = nil, value = nil)
Class Method Detail
Instance Method Detail
def
__format__ : IO::ByteFormat
#
def
plate=(plate : String)
#
def
plate_len=(plate_len : UInt8)
#
def
timestamp=(timestamp : UInt32)
#
def
type=(type : UInt8)
#
Macro Detail
macro
data(name, onlyif =
nil, verify =
nil, value =
nil)
#
macro
error(name, onlyif =
nil, verify =
nil, value =
nil)
#
macro
plate(name, onlyif =
nil, verify =
nil, value =
nil)
#
macro
response(name, onlyif =
nil, verify =
nil, value =
nil)
#