(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close