decode

Decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into a newly-allocated output byte array. The returned byte array is of the length of the resulting bytes.

Return

A newly-allocated byte array containing the decoded bytes.

Parameters

src

the byte array to decode

Throws

if src is not in valid Base64 scheme