net.sf.jbaobab.io.etc
Class GrowingByteBuffer
java.lang.Object
net.sf.jbaobab.io.etc.GrowingByteBuffer
public final class GrowingByteBuffer
- extends Object
Provides self-growing direct ByteBuffer instance.
- Author:
- Oakyoon Cha
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrowingByteBuffer
public GrowingByteBuffer(int defaultSize,
int growth,
int surplus)
GrowingByteBuffer
public GrowingByteBuffer(int defaultSize)
GrowingByteBuffer
public GrowingByteBuffer()
get
public ByteBuffer get()
get
public ByteBuffer get(int needed)