Decodes a String for the provided decoder and returns the decoded bytes.
if decoding failed.
Decodes a CharArray for the provided decoder and returns the decoded bytes.