struct Sparoid::Message

Defined in:

message.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(version : Int32, ts : Int64, nounce : StaticArray(UInt8, 16), ip : StaticArray(UInt8, 4)) #

[View source]
def self.new(ip : StaticArray(UInt8, 4)) #

[View source]

Class Method Detail

def self.from_io(io, format) #

[View source]

Instance Method Detail

def ip : StaticArray(UInt8, 4) #

[View source]
def nounce : StaticArray(UInt8, 16) #

[View source]
def to_io(io, format) #

[View source]
def to_slice(format : IO::ByteFormat) : Bytes #

[View source]
def ts : Int64 #

[View source]
def version : Int32 #

[View source]