Liking cljdoc? Tell your friends :D

missinterpret.storage.block.memory


block-infoclj


data->contentclj

(data->content {:keys [data format] :as args})

Converts the passed data into the content part of the block.

Note: If the format of the data is not explicitly passed using the available encoding types in missinterpret.storage.utils.byte-arrays/encoding-formats then the data is assigned without conversion.

  If the data is not edn-compatible then use with non memory storage
  will fail on read.
Converts the passed data into the content part of the block.

Note: If the format of the data is not explicitly passed using the
      available encoding types in missinterpret.storage.utils.byte-arrays/encoding-formats
      then the data is assigned without conversion.

      If the data is not edn-compatible then use with non memory storage
      will fail on read.
raw docstring

hashclj


kindclj


newclj

(new {:keys [metadata] :as args})

Creates a new memory block using passed data encoding it into the specified format.

Note: If the format is not one of missinterpret.storage.utils.byte-arrays/encoding-formats the data is not changed.

Creates a new memory block using passed data encoding it into the
specified format.

Note: If the format is not one of missinterpret.storage.utils.byte-arrays/encoding-formats
      the data is not changed.
raw docstring

versionclj

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

× close