public static class Base64.EncoderOutputStream extends 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) |
flush, write
public EncoderOutputStream(Base64.Encoder pEncoder)
Base64.Encoder
.pEncoder
- The base64 encoder being used.public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] pBuffer, int pOffset, int pLen) throws IOException
write
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
Copyright © 2005–2022 Apache Software Foundation. All rights reserved.