Liking cljdoc? Tell your friends :D

clj-artnet.impl.protocol.codec.domain.common

Common utilities shared across domain encode/decode modules.

Common utilities shared across domain encode/decode modules.
raw docstring

compose-port-addressclj

(compose-port-address net sub-net universe)

Compose a 15-bit port address from Net/Sub-Net/Universe values.

Compose a 15-bit port address from Net/Sub-Net/Universe values.
sourceraw docstring

datarequest-typeclj

(datarequest-type code)

Resolve data request type from code.

Resolve data request type from code.
sourceraw docstring

decode-generic-payloadclj

(decode-generic-payload op buf)

Decode a generic Art-Net packet with an opaque payload.

Decode a generic Art-Net packet with an opaque payload.
sourceraw docstring

encode-generic-packet!clj

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

Encode a generic Art-Net packet with an opaque payload.

Encode a generic Art-Net packet with an opaque payload.
sourceraw docstring

encode-vlc-flagsclj

(encode-vlc-flags {:keys [flags ieee? reply? beacon?]})

Encode VLC flags from map.

Encode VLC flags from map.
sourceraw docstring

flag-set?clj

(flag-set? flags mask)

Check if the flag bit is set.

Check if the flag bit is set.
sourceraw docstring

normalize-arrayclj

(normalize-array coll len)

Normalize a collection to vector of specified length.

Normalize a collection to vector of specified length.
sourceraw docstring

normalize-ipclj

(normalize-ip ip)

Normalize IP address to vector of 4 bytes.

Normalize IP address to vector of 4 bytes.
sourceraw docstring

normalize-macclj

(normalize-mac mac)

Normalize MAC address to vector of 6 bytes.

Normalize MAC address to vector of 6 bytes.
sourceraw docstring

normalize-uidclj

(normalize-uid uid)

Normalize RDM UID to a vector of 6 bytes.

Normalize RDM UID to a vector of 6 bytes.
sourceraw docstring

rdmsub-command-codeclj

(rdmsub-command-code {:keys [command-class command]})

Resolve RDM sub command code from a packet map.

Resolve RDM sub command code from a packet map.
sourceraw docstring

resolve-datarequest-codeclj

(resolve-datarequest-code {:keys [request request-code request-type]
                           :as packet})

Resolve data request code from packet map.

Resolve data request code from packet map.
sourceraw docstring

split-port-addressclj

(split-port-address port-address)

Split a 15-bit port address into {:net :sub-net :universe}.

Split a 15-bit port address into {:net :sub-net :universe}.
sourceraw docstring

trigger-key-byteclj

(trigger-key-byte {:keys [key key-type] :as packet})

Resolve trigger key byte from packet map.

Resolve trigger key byte from packet map.
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