Hulaaki.Decoder
Provides functions for decoding bytes(binary) to Message structs
Summary↑
decode(bytes) | Decodes a binary to a tuple containing Message struct and a remainder |
decode_remaining_length(bytes) | Decodes remaining length from bytes encoded using a variable length encoding scheme specified in MQTT 3.1.1 spec section 2.2.3 |
Functions
Decodes a binary to a tuple containing Message struct and a remainder
Decodes remaining length from bytes encoded using a variable length encoding scheme specified in MQTT 3.1.1 spec section 2.2.3