public class ByteBufferOutputStream extends OutputStream
| Constructor and Description |
|---|
ByteBufferOutputStream() |
ByteBufferOutputStream(ByteBuffer outputBuffer) |
ByteBufferOutputStream(int initSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ByteBuffer |
getByteBuffer() |
void |
reset() |
void |
write(int data) |
flush, write, writepublic ByteBufferOutputStream()
public ByteBufferOutputStream(int initSize)
public ByteBufferOutputStream(ByteBuffer outputBuffer)
public void reset()
public ByteBuffer getByteBuffer()
public void write(int data)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamCopyright © 2005–2018 Oracle Corporation. All rights reserved.