public final class ByteBufferArray extends AbstractBufferArray<java.nio.ByteBuffer>
clazz| Modifier and Type | Method and Description |
|---|---|
static ByteBufferArray |
create() |
protected int |
getLimit(java.nio.ByteBuffer buffer) |
protected int |
getPosition(java.nio.ByteBuffer buffer) |
void |
recycle() |
protected void |
setPositionLimit(java.nio.ByteBuffer buffer,
int position,
int limit) |
add, add, getArray, getInitialBufferSize, getInitialLimit, getInitialPosition, reset, restore, sizepublic static ByteBufferArray create()
public void recycle()
recycle in class AbstractBufferArray<java.nio.ByteBuffer>protected void setPositionLimit(java.nio.ByteBuffer buffer,
int position,
int limit)
setPositionLimit in class AbstractBufferArray<java.nio.ByteBuffer>protected int getPosition(java.nio.ByteBuffer buffer)
getPosition in class AbstractBufferArray<java.nio.ByteBuffer>protected int getLimit(java.nio.ByteBuffer buffer)
getLimit in class AbstractBufferArray<java.nio.ByteBuffer>Copyright © 2018 Oracle Corporation. All Rights Reserved.