Class Base64Decoder
java.lang.Object
org.apache.commons.fileupload.util.mime.Base64Decoder
- Since:
- 1.3
-
Method Summary
Modifier and TypeMethodDescriptionstatic voiddecode(byte[] data, OutputStream out) Decode the base 64 encoded byte data writing it to the given output stream, whitespace characters will be ignored.
-
Method Details
-
decode
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 dataout- the output stream to hold the decoded bytes- Throws:
IOException- thrown when the padding is incorrect or the input is truncated.
-