public final class InMemoryBuffers extends Object implements Iterable<ByteBuffer>
| Constructor and Description |
|---|
InMemoryBuffers() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ByteBuffer buffer) |
void |
clear() |
int |
getSize() |
Iterator<ByteBuffer> |
iterator() |
byte[] |
toByteArray() |
String |
toString() |
String |
toString(Charset charset) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic void clear()
public Iterator<ByteBuffer> iterator()
iterator in interface Iterable<ByteBuffer>public void add(ByteBuffer buffer)
public int getSize()
public byte[] toByteArray()
Copyright © 2017. All rights reserved.