decode

open fun decode(data: Array<Byte>, out: OutputStream)

Decode the base 64 encoded byte data writing it to the given output stream, whitespace characters will be ignored.

Parameters

data

the buffer containing the Base64-encoded data

out

the output stream to hold the decoded bytes

Throws

thrown when the padding is incorrect or the input is truncated.