public class Base64OutputStream extends OutputStream
| Constructor and Description |
|---|
Base64OutputStream(OutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
encodeUnit(byte byteValue) |
protected void |
encodeUnit(byte byte1,
byte byte2) |
protected void |
encodeUnit(byte byte1,
byte byte2,
byte byte3) |
void |
flush() |
protected char |
getChar(int sixbit) |
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int offset,
int length) |
void |
write(int byteValue) |
public Base64OutputStream(OutputStream outputStream)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void write(byte[] bytes)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] bytes,
int offset,
int length)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int byteValue)
throws IOException
write in class OutputStreamIOExceptionprotected void encodeUnit(byte byteValue)
throws IOException
IOExceptionprotected void encodeUnit(byte byte1,
byte byte2)
throws IOException
IOExceptionprotected void encodeUnit(byte byte1,
byte byte2,
byte byte3)
throws IOException
IOExceptionprotected char getChar(int sixbit)