class Error
- Error
- BinData
- Reference
- Object
Defined in:
6_speed_daemon.cr
Constant Summary
-
ENDIAN =
["big"]
-
KLASS_NAME =
[Error]
-
PARTS =
[{type: "basic", name: type, cls: UInt8, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: msg_len, cls: UInt8, onlyif: nil, verify: nil, value: -> do
msg.bytesize
end}, {type: "string", name: msg, cls: String, onlyif: nil, verify: nil, length: -> do
msg_len
end, value: nil, encoding: nil}] of Nil
-
REMAINING =
[] of Nil
Class Method Summary
Instance Method Summary
Macro Summary
Class Method Detail
Instance Method Detail
def
__format__ : IO::ByteFormat
#
def
msg_len=(msg_len : UInt8)
#
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
response(name, onlyif =
nil, verify =
nil, value =
nil)
#