Class Base64Decoder
- java.lang.Object
-
- org.apache.commons.fileupload.util.mime.Base64Decoder
-
public final class Base64Decoder extends java.lang.Object- Since:
- 1.3
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddecode(byte[] data, java.io.OutputStream out)Decode the base 64 encoded byte data writing it to the given output stream, whitespace characters will be ignored.
-
-
-
Method Detail
-
decode
public static void decode(byte[] data, java.io.OutputStream out) throws java.io.IOExceptionDecode 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:
java.io.IOException- thrown when the padding is incorrect or the input is truncated.
-
-