public class WriteBuffer extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
WriteBuffer.Sink
Interface implemented by clients of the WriteBuffer to enable data to be
written back out from the buffer.
|
Constructor and Description |
---|
WriteBuffer(int bufferSize) |
public void add(ByteBuffer from)
public boolean isEmpty()
public boolean write(WriteBuffer.Sink sink, boolean blocking) throws IOException
IOException
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.