public static class FlexBase64.EncoderOutputStream extends OutputStream
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.
| Modifier and Type | Method and Description |
|---|---|
void | close() |
void | complete() Completes the stream, writing out base64 padding characters if needed. |
void | flush() |
void | write(byte[] b, int off, int len) |
void | write(int b) |
writepublic void write(byte[] b,
int off,
int len)
throws IOException write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException write in class OutputStreamIOExceptionpublic void flush()
throws IOException flush in interface Flushableflush in class OutputStreamIOExceptionpublic void complete()
throws IOException IOException - if the underlying stream throws onepublic void close()
throws IOException close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2020 JBoss by Red Hat. All rights reserved.