Class FlexBase64.EncoderOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable
    Enclosing class:

    public static class FlexBase64.EncoderOutputStream
    extends OutputStream
    An output stream which base64 encodes all passed data and writes it to the wrapped target output stream.

    Closing this stream will result in the correct padding sequence being written. However, as required by the OutputStream contract, the wrapped stream will also be closed. If this is not desired, the complete() method should be used.