class

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
Source

Instance methods

__format__
Source
msg
msg=(msg : String)
msg_len
msg_len=(msg_len : UInt8)
type
type=(type : UInt8)

Macros

data(name, onlyif = nil, verify = nil, value = nil)
Source
error(name, onlyif = nil, verify = nil, value = nil)
Source
response(name, onlyif = nil, verify = nil, value = nil)
Source