Liking cljdoc? Tell your friends :D

mqtt.encoding-utils


encode-byteclj

(encode-byte out b)

Encode a single byte

Encode a single byte
raw docstring

encode-stringclj

(encode-string out string)

Encode a utf-8 encoded string. Strings are preceeded by 2 bytes describing the length of the remaining content.

Encode a utf-8 encoded string. Strings are preceeded by 2 bytes describing
the length of the remaining content.
raw docstring

encode-unsigned-shortclj

(encode-unsigned-short out i)

Encode an unsigned short

Encode an unsigned short
raw docstring

EncodeBytescljprotocol

encode-bytesclj

(encode-bytes bs out)

Encode a bunch of bytes

Encode a bunch of bytes

remaining-bytesclj

(remaining-bytes bs)

How many bytes are remaining to encode?

How many bytes are remaining to encode?

utf8-bytesclj

(utf8-bytes s)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close