Sparoid::Message
Inherits Struct / Value / Object
Constants
VERSION = 1
Constructors
from_io(io : IO, format : IO::ByteFormat) : Message
Sourcefrom_ip(ip : String) : Message
Sourcenew(ts : Int64, nounce : StaticArray(UInt8, 16), ip : Bytes)
Sourcenew(ip : Bytes)
SourceInstance methods
family
Sourceip
Sourceip_string
Sourcenounce
Sourceto_slice(format : IO::ByteFormat) : Bytes
Sourcets
Source