package
0.5.1
Repository: https://github.com/lab5e/lmqtt.git
Documentation: pkg.go.dev

# Functions

DecodeMessage decodes message from buffer.
DecodeMessageFromBytes decodes message from bytes.
DecodeSession decodes a session from a byte buffer.
EncodeMessage encodes message into bytes and write it to the buffer.
EncodeSession encodes a session into a byte buffer.
ReadBool reads a bool from a byte buffer.
ReadString reads a string from a byte buffer.
ReadUint16 reads an uint16 from a byte buffer.
ReadUint32 reads an uint32 from a byte buffer.
WriteBool writes a boolean value into a byte buffer.
WriteString writes a string into a byte buffer as a length-value.
WriteUint16 writes an uint16 into a byte buffer.
WriteUint32 writes an uint into a byte buffer.