Liking cljdoc? Tell your friends :D

taoensso.msgpack

Clj/s MessagePack implementation adapted from msgpack-cljc by @rosejn.

Clj/s MessagePack implementation adapted from `msgpack-cljc` by @rosejn.
raw docstring

packclj/s≠

(pack clj)
(pack output clj)
clj

1 arity: returns MessagePack-encoded byte[] for given Clj value. 2 arity: writes MessagePack-encoded bytes for given Clj value to given output ∈ #{DataOutput OutputStream} and returns output.

1 arity: returns MessagePack-encoded byte[] for given Clj value.
2 arity: writes  MessagePack-encoded bytes  for given Clj value to
  given output ∈ #{DataOutput OutputStream} and returns output.
cljs

1 arity: returns MessagePack-encoded Uint8Array for given Cljs value. 2 arity: writes MessagePack-encoded bytes for given Cljs value to given output ∈ #{ArrayBuffer} and returns output.

1 arity: returns MessagePack-encoded Uint8Array for given Cljs value.
2 arity: writes  MessagePack-encoded bytes      for given Cljs value to
  given output ∈ #{ArrayBuffer} and returns output.
raw docstring

unpackclj/s≠

(unpack packed)
clj

Returns Clj value for given MessagePack-encoded payload ∈ #{byte[] DataInput InputStream}.

Returns Clj value for given MessagePack-encoded payload ∈ #{byte[] DataInput InputStream}.
cljs

Returns Cljs value for given MessagePack-encoded payload ∈ #{Uint8Array}.

Returns Cljs value for given MessagePack-encoded payload ∈ #{Uint8Array}.
raw 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