(encode-blob buf b)
Encode binary blob b into buf. Ensures buffer is correctly padded.
Encode binary blob b into buf. Ensures buffer is correctly padded.
(encode-string buf s)
Encode string s into buf. Ensures buffer is correctly padded.
Encode string s into buf. Ensures buffer is correctly padded.
(encode-timetag buf)
(encode-timetag buf timestamp)
Encode timetag into buf. Timestamp defaults to (now) if not specifically passed. Throws exception if timestamp isn't a number.
Encode timetag into buf. Timestamp defaults to (now) if not specifically passed. Throws exception if timestamp isn't a number.
(osc-encode-bundle buf bundle send-nested-osc-bundles?)
Encode bundle into buf.
Encode bundle into buf.
(osc-encode-msg buf msg)
Encode OSC message msg into buf.
Encode OSC message msg into buf.
(osc-encode-packet buf packet)
Encode OSC packet into buf. Handles both OSC messages and bundles.
Encode OSC packet into buf. Handles both OSC messages and bundles.
(osc-pad buf)
Add 0-3 null bytes to make buf position 32-bit aligned.
Add 0-3 null bytes to make buf position 32-bit aligned.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close