Error
Inherits BinData < Reference < Object
Constants
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 methods
bit_fields
SourceInstance methods
__format__
Sourcemsg
msg=(msg : String)
msg_len
msg_len=(msg_len : UInt8)
type
type=(type : UInt8)
Macros
data(name, onlyif = nil, verify = nil, value = nil)
Sourceerror(name, onlyif = nil, verify = nil, value = nil)
Sourceresponse(name, onlyif = nil, verify = nil, value = nil)
Source