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.
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |