Liking cljdoc? Tell your friends :D

missinterpret.storage.utils.byte-arrays


decodeclj

(decode data format)

Attempts to decode the memory content in the storage block. If unable to be decoded this is pass-through.

Attempts to decode the memory content in the storage block. If unable to be
decoded this is pass-through.
raw docstring

encodeclj

(encode data format)

Attempts to encode the data given a specific format. If the format is not supported, the fn is pass-through.

Attempts to encode the data given a specific format. If the format is not supported,
the fn is pass-through.
raw docstring

encoding-formatsclj


range-bytesclj

(range-bytes bytes start end)

Returns a byte array representation of the memory content that respects the range if range arguments are supplied, pass through of content if not as byte-stream lib will do best conversion

Returns a byte array representation of the memory content that respects
the range if range arguments are supplied, pass through of content if not
as byte-stream lib will do best conversion
raw docstring

supported?clj

(supported? format)

to-byte-arrayclj

(to-byte-array input)

Converts the input into a byte array:

  1. convert via clj-commons.byte-streams lib when there is a conversion-path
  2. Converts input to string then converts.
Converts the input into a byte array:
1. convert via clj-commons.byte-streams lib when there is a conversion-path
2. Converts input to string then converts.
raw docstring

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

× close