Liking cljdoc? Tell your friends :D

carmine.serialization

Deliberately simple, high-performance de/serializer for Clojure. Adapted from Deep-Freeze.

Deliberately simple, high-performance de/serializer for Clojure. Adapted from
Deep-Freeze.
raw docstring

case-evalcljmacro

(case-eval e & clauses)

Like 'case' but evaluates test constants for their compile-time value.

Like 'case' but evaluates test constants for their compile-time value.
sourceraw docstring

Freezablecljprotocol

freezeclj

(freeze this stream)
source

freeze-to-bytesclj

(freeze-to-bytes x)
(freeze-to-bytes x compress?)

Serializes x to a byte array and returns the array.

Serializes x to a byte array and returns the array.
sourceraw docstring

freeze-to-stream!clj

(freeze-to-stream! data-output-stream x)

Serializes x to given output stream.

Serializes x to given output stream.
sourceraw docstring

freezercljmacro

(freezer type id & body)

Helper to extend Freezable protocol.

Helper to extend Freezable protocol.
sourceraw docstring

id-bigdecclj

source

id-bigintclj

source

id-booleanclj

source

id-byteclj

source

id-bytesclj

source

id-charclj

source

id-collclj

source

id-doubleclj

source

id-floatclj

source

id-integerclj

source

id-keywordclj

source

id-listclj

source

id-longclj

source

id-mapclj

source

id-metaclj

source

id-nilclj

source

id-queueclj

source

id-ratioclj

source

id-readerclj

source

id-setclj

source

id-shortclj

source

id-stringclj

source

id-vectorclj

source

schema-headerclj

source

stress-dataclj

source

thaw-from-bytesclj

(thaw-from-bytes ba)
(thaw-from-bytes ba compressed?)

Deserializes an entity from given byte array.

Deserializes an entity from given byte array.
sourceraw docstring

thaw-from-stream!cljdeprecated

(thaw-from-stream! data-input-stream)

DEPRECATED. Deserializes an entity from given input stream. Includes temporary support for older versions of serialization schema that didn't include a schema-header.

DEPRECATED. Deserializes an entity from given input stream. Includes
temporary support for older versions of serialization schema that didn't
include a schema-header.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close