http4k / org.apache.commons.fileupload.util.mime / Base64Decoder / decode
static fun decode(data:
ByteArray
!, out:
OutputStream
!):
Unit
Decode the base 64 encoded byte data writing it to the given output stream, whitespace characters will be ignored.
data
- ByteArray!: the buffer containing the Base64-encoded data
out
- OutputStream!: the output stream to hold the decoded bytes
IOException
- thrown when the padding is incorrect or the input is truncated.