public static class Base64.EncoderOutputStream
extends java.io.OutputStream
OutputStream, which is writing to the given
Base64.Encoder.| Constructor and Description |
|---|
EncoderOutputStream(Base64.Encoder pEncoder)
Creates a new instance, which is creating
output using the given
Base64.Encoder. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(byte[] pBuffer,
int pOffset,
int pLen) |
void |
write(int b) |
public EncoderOutputStream(Base64.Encoder pEncoder)
Base64.Encoder.pEncoder - The base64 encoder being used.public void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] pBuffer,
int pOffset,
int pLen)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOException