public class ByteBufferOutputStream extends OutputStream
| Constructor and Description |
|---|
ByteBufferOutputStream() |
ByteBufferOutputStream(int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
byte[] |
toByteArray() |
ByteBuffer |
toByteBuffer() |
String |
toString() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(ByteBuffer src) |
void |
write(InputStream in) |
void |
write(int b) |
public ByteBufferOutputStream()
public ByteBufferOutputStream(int size)
public ByteBuffer toByteBuffer()
public byte[] toByteArray()
public void write(int b)
write 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(ByteBuffer src)
public void write(InputStream in) throws IOException
IOExceptionpublic void flush()
flush in interface Flushableflush in class OutputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamCopyright © 2021. All rights reserved.