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