|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.neem.impl.Buffers
public abstract class Buffers
Buffer manipulation utilities.
Method Summary | |
---|---|
static java.nio.ByteBuffer[] |
clone(java.nio.ByteBuffer[] buffer)
Clone a buffer array. |
static java.nio.ByteBuffer |
compact(java.nio.ByteBuffer[] buffer)
Compact a buffer array to a single buffer. |
static int |
copy(java.nio.ByteBuffer res,
java.nio.ByteBuffer[] buffer)
Copy a buffer array to a single buffer. |
static int |
count(java.nio.ByteBuffer[] buffer)
Count remaining bytes in a buffer array. |
static java.nio.ByteBuffer[] |
slice(java.nio.ByteBuffer[] buffer,
int size)
Remove data from the head of a buffer array. |
static java.nio.ByteBuffer |
sliceCompact(java.nio.ByteBuffer[] buffer,
int size)
Remove a contiguous header from the head of a buffer array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.nio.ByteBuffer[] slice(java.nio.ByteBuffer[] buffer, int size)
public static java.nio.ByteBuffer sliceCompact(java.nio.ByteBuffer[] buffer, int size)
public static java.nio.ByteBuffer compact(java.nio.ByteBuffer[] buffer)
public static int count(java.nio.ByteBuffer[] buffer)
public static int copy(java.nio.ByteBuffer res, java.nio.ByteBuffer[] buffer)
public static java.nio.ByteBuffer[] clone(java.nio.ByteBuffer[] buffer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |