(bytes->str b & [encoding])
Returns the String corresponding to the given encoding's decoding of the given bytes. If no encoding is specified, UTF-8 is used.
Returns the String corresponding to the given encoding's decoding of the given bytes. If no encoding is specified, UTF-8 is used.
(deflate b)
(deflate b level)
Returns a deflate'd version of the given byte array.
Returns a deflate'd version of the given byte array.
(force-byte-array b)
force b as byte array if it is an InputStream, also close the stream
force b as byte array if it is an InputStream, also close the stream
(gunzip b)
Returns a gunzip'd version of the given byte array.
Returns a gunzip'd version of the given byte array.
(gzip b)
Returns a gzip'd version of the given byte array.
Returns a gzip'd version of the given byte array.
(inflate b)
Returns a zlib inflate'd version of the given byte array or InputStream.
Returns a zlib inflate'd version of the given byte array or InputStream.
(str->bytes s & [encoding])
Returns the encoding's bytes corresponding to the given string. If no encoding is specified, UTF-8 is used.
Returns the encoding's bytes corresponding to the given string. If no encoding is specified, UTF-8 is used.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close