Class Base64Decoder

java.lang.Object
org.apache.commons.fileupload.util.mime.Base64Decoder

public final class Base64Decoder extends Object
Since:
1.3
  • Method Details

    • decode

      public static void decode(byte[] data, OutputStream out) throws IOException
      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 data
      out - the output stream to hold the decoded bytes
      Throws:
      IOException - thrown when the padding is incorrect or the input is truncated.