Liking cljdoc? Tell your friends :D
Clojure only.

clj-artnet.impl.protocol.codec.dispatch

Central opcode dispatch for Art-Net packet encoding and decoding. Routes to domain-specific handlers while maintaining the original public API contract.

Central opcode dispatch for Art-Net packet encoding and decoding.
Routes to domain-specific handlers while maintaining the original
public API contract.
raw docstring

decodeclj

(decode buf)

Decode an Art-Net frame from buf. ArtDmx returns a flyweight packet and control packets return immutable maps.

Decode an Art-Net frame from *buf*. ArtDmx returns a flyweight packet and
control packets return immutable maps.
sourceraw docstring

encodeclj

(encode packet)
(encode {:keys [op data] :as packet} buf)

Encode a packet map into a ByteBuffer ready for transmission. Supply buf to reuse an existing buffer and avoid allocations on the hot path.

Encode a packet map into a ByteBuffer ready for transmission. Supply *buf*
to reuse an existing buffer and avoid allocations on the hot path.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close