public class ByteBufferOutputStream extends OutputStream
| Constructor and Description |
|---|
ByteBufferOutputStream(WritableByteChannel channel,
ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
static void |
drain(WritableByteChannel channel,
ByteBuffer buffer) |
void |
flush() |
void |
write(int b) |
close, write, writepublic ByteBufferOutputStream(WritableByteChannel channel, ByteBuffer buffer)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic static void drain(WritableByteChannel channel, ByteBuffer buffer) throws IOException
IOExceptionCopyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.