struct

Sparoid::Message

Inherits Struct / Value / Object

Constants

VERSION = 1

Constructors

from_io(io : IO, format : IO::ByteFormat) : Message
Source
from_ip(ip : String) : Message
Source
new(ts : Int64, nounce : StaticArray(UInt8, 16), ip : Bytes)
Source
new(ip : Bytes)
Source

Instance methods

family
Source
ip_string
Source
nounce
Source
to_slice(format : IO::ByteFormat) : Bytes
Source