public class ByteBufferPool extends Object
| Constructor and Description |
|---|
ByteBufferPool() |
| Modifier and Type | Method and Description |
|---|---|
void |
drain()
Drains this ByteBufferPool i.e.
|
ByteBuffer |
getBuffer(int capacity)
Gets a ByteBuffer out of this pool of ByteBuffers which
is capable to receiving at least capacity number of bytes.
|
public void drain()
public ByteBuffer getBuffer(int capacity)
capacity - the minimal number of bytes that the returned
ByteBuffer is to be capable of receivingCopyright © 2022 jitsi.org. All rights reserved.