Liking cljdoc? Tell your friends :D

hive-fressian.codec

Envelope codec: one durable Fressian file = header map + item stream.

Layout (in stream order): header, item-count, items. Handlers resolve through hive-fressian.registry at call time, so any domain registered before the call serializes transparently.

Envelope codec: one durable Fressian file = header map + item stream.

Layout (in stream order): header, item-count, items. Handlers resolve
through hive-fressian.registry at call time, so any domain registered
before the call serializes transparently.
raw docstring

format-versionclj

source

read-envelopeclj

(read-envelope path)

Read an envelope from path. Returns {:header map :items [..]}.

Read an envelope from `path`. Returns {:header map :items [..]}.
sourceraw docstring

write-envelope!clj

(write-envelope! path header items)

Write items (seqable) under header (map) to path. Returns {:path .. :count ..}.

Write `items` (seqable) under `header` (map) to `path`.
Returns {:path .. :count ..}.
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