Hulaaki.Decoder

Provides functions for decoding bytes(binary) to Message structs

Source

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

decode(bytes)

Decodes a binary to a tuple containing Message struct and a remainder

Source
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

Source