Class 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 void decode​(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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • decode

        public static void decode​(byte[] data,
                                  java.io.OutputStream out)
                           throws java.io.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:
        java.io.IOException - thrown when the padding is incorrect or the input is truncated.