(decode-packet msg-or-pkt & {:keys [min-size-bytes] :or {min-size-bytes 1024}})dispatch to decode-packet- or to tlv/decode-rt-message for compatibility
with Google version of the protocol.
dispatch to `decode-packet-` or to `tlv/decode-rt-message` for compatibility with Google version of the protocol.
(decode-packet- packet & [{:keys [min-size-bytes] :or {min-size-bytes 1024}}])Decode a Roughtime packet and perform basic framing validations.
Decode a Roughtime packet and perform basic framing validations.
(encode-packet msg-bytes)Wrap a TLV-encoded Roughtime message into a packet: [magic][msg_len][payload].
Wrap a TLV-encoded Roughtime message into a packet: [magic][msg_len][payload].
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 |