PlaceOS::Edge::Protocol::Binary
Binary messages
Constants
AFTER_DESERIALIZE = [] of Nil
Binary messages
BEFORE_SERIALIZE = [] of Nil
Binary messages
ENDIAN = ["big"]
Binary messages
KLASS_NAME = [PlaceOS::Edge::Protocol::Binary]
Binary messages
PARTS = [{type: "basic", name: sequence_id, cls: UInt64, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "enum", name: status, cls: typeof(Status::Success.value),
onlyif: nil, verify: nil, value: nil, encoding: nil, enum_type: PlaceOS::Edge::Protocol::Binary::Status}, {type: "basic", name: length, cls: Int32, onlyif: nil, verify: nil, value: -> do
key.bytesize
end,
endian: nil}, {type: "string", name: key, cls: String, onlyif: nil, verify: nil, length: -> do
length
end,
value: nil, encoding: nil}] of Nil
Binary messages
REMAINING = [] of Nil
Binary messages
Class methods
Instance methods
__format__
Sourcebinary
Sourcebinary?
Sourcekey
key=(key : String)
length
length=(length : Int32)
path
Sourcepath?
Sourcesequence_id
sequence_id=(sequence_id : UInt64)
status
status=(status : Status)
success
Sourceto_slice
Source