public class ByteBufferOutputStream extends OutputStream
BufferOverflowException if the buffer capacity is exceeded.| Constructor and Description |
|---|
ByteBufferOutputStream(ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public ByteBufferOutputStream(ByteBuffer buffer)
public void close()
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreampublic void flush()
flush in interface Flushableflush in class OutputStreampublic void write(byte[] b)
write in class OutputStreampublic void write(byte[] b,
int off,
int len)
write in class OutputStreampublic void write(int b)
write in class OutputStreamCopyright © 2010 - 2020 Adobe. All Rights Reserved