io.pedestal.service.data
added in 0.8.0
Utilities for converting to and from specific data types.
convert
(convert format binary-data)
Converts binary data in a supported format (byte array, ByteBuffer, InputStream) to another format (:byte-array, :byte-buffer, or :input-stream). Converting nil results in an empty array/buffer/stream.