class Error

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

def self.bit_fields #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def msg : String #

def msg=(msg : String) #

def msg_len : UInt8 #

def msg_len=(msg_len : UInt8) #

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 response(name, onlyif = nil, verify = nil, value = nil) #

[View source]