|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ByteBuffer | |
---|---|
rebuild.comp.java.nio |
Uses of ByteBuffer in rebuild.comp.java.nio |
---|
Methods in rebuild.comp.java.nio that return ByteBuffer | |
---|---|
static ByteBuffer |
ByteBuffer.allocateDirect(int capacity)
Allocates a new direct byte buffer. |
ByteBuffer |
ByteBuffer.get(byte[] dst)
Relative bulk get method. |
ByteBuffer |
ByteBuffer.get(byte[] dst,
int offset,
int length)
This method transfers bytes from this buffer into the given destination array. |
abstract ByteBuffer |
ByteBuffer.put(byte b)
Writes the given byte into this buffer at the current position, and then increments the position. |
ByteBuffer |
ByteBuffer.put(byte[] src)
This method transfers the entire content of the given source byte array into this buffer. |
ByteBuffer |
ByteBuffer.put(byte[] src,
int offset,
int length)
Relative bulk put method |
ByteBuffer |
ByteBuffer.put(ByteBuffer src)
This method transfers the bytes remaining in the given source buffer into this buffer. |
abstract ByteBuffer |
ByteBuffer.put(int index,
byte b)
Writes the given byte into this buffer at the given index. |
abstract ByteBuffer |
ByteBuffer.putInt(int value)
Relative put method for writing an int value. |
abstract ByteBuffer |
ByteBuffer.putInt(int index,
int value)
Absolute put method for writing an int value. |
abstract ByteBuffer |
ByteBuffer.putShort(short value)
Relative put method for writing a short value. |
abstract ByteBuffer |
ByteBuffer.slice()
Creates a new byte buffer whose content is a shared subsequence of this buffer's content. |
static ByteBuffer |
ByteBuffer.wrap(byte[] array)
Wraps a byte array into a buffer. |
Methods in rebuild.comp.java.nio with parameters of type ByteBuffer | |
---|---|
ByteBuffer |
ByteBuffer.put(ByteBuffer src)
This method transfers the bytes remaining in the given source buffer into this buffer. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |