| java.lang.Object java.nio.Buffer java.nio.ByteBuffer java.nio.ByteBufferImpl
ByteBufferImpl | class ByteBufferImpl extends ByteBuffer (Code) | | A Buffer storing byte data.
|
Method Summary | |
native static int | _allocNative(int capacity) | native static void | _copyBytes(int srcAddress, int dstAddress, int bytes) | native static byte | _getByte(int address) | native static void | _getBytes(int address, byte[] dst, int offset, int length) | native static float | _getFloat(int address) | native static void | _getFloats(int address, float[] dst, int offset, int length) | native static int | _getInt(int address) | native static void | _getInts(int address, int[] dst, int offset, int length) | native static short | _getShort(int address) | native static void | _getShorts(int address, short[] dst, int offset, int length) | native static void | _putByte(int address, byte value) | native static void | _putBytes(int address, byte[] dst, int offset, int length) | native static void | _putFloat(int address, float value) | native static void | _putFloats(int address, float[] dst, int offset, int length) | native static void | _putInt(int address, int value) | native static void | _putInts(int address, int[] dst, int offset, int length) | native static void | _putShort(int address, short value) | native static void | _putShorts(int address, short[] dst, int offset, int length) | public FloatBuffer | asFloatBuffer() | public IntBuffer | asIntBuffer() | public ShortBuffer | asShortBuffer() | public void | dispose() | public byte | get() | public byte | get(int index) | public float | getFloat() | public float | getFloat(int index) | public int | getInt() | public int | getInt(int index) | public short | getShort() | public short | getShort(int index) | public static boolean | isBigEndian() | public boolean | isDirect() | public int | nativeAddress() | public ByteBuffer | put(byte b) | public ByteBuffer | put(int index, byte b) | public ByteBuffer | putFloat(float value) | public ByteBuffer | putFloat(int index, float value) | public ByteBuffer | putInt(int value) | public ByteBuffer | putInt(int index, int value) | public ByteBuffer | putShort(short value) | public ByteBuffer | putShort(int index, short value) | public ByteBuffer | slice() |
ByteBufferImpl | ByteBufferImpl(int capacity, byte[] array, int arrayOffset, ByteBuffer directParent)(Code) | | |
_allocNative | native static int _allocNative(int capacity)(Code) | | |
_copyBytes | native static void _copyBytes(int srcAddress, int dstAddress, int bytes)(Code) | | |
_getByte | native static byte _getByte(int address)(Code) | | |
_getBytes | native static void _getBytes(int address, byte[] dst, int offset, int length)(Code) | | |
_getFloat | native static float _getFloat(int address)(Code) | | |
_getFloats | native static void _getFloats(int address, float[] dst, int offset, int length)(Code) | | |
_getInt | native static int _getInt(int address)(Code) | | |
_getInts | native static void _getInts(int address, int[] dst, int offset, int length)(Code) | | |
_getShort | native static short _getShort(int address)(Code) | | |
_getShorts | native static void _getShorts(int address, short[] dst, int offset, int length)(Code) | | |
_putByte | native static void _putByte(int address, byte value)(Code) | | |
_putBytes | native static void _putBytes(int address, byte[] dst, int offset, int length)(Code) | | |
_putFloat | native static void _putFloat(int address, float value)(Code) | | |
_putFloats | native static void _putFloats(int address, float[] dst, int offset, int length)(Code) | | |
_putInt | native static void _putInt(int address, int value)(Code) | | |
_putInts | native static void _putInts(int address, int[] dst, int offset, int length)(Code) | | |
_putShort | native static void _putShort(int address, short value)(Code) | | |
_putShorts | native static void _putShorts(int address, short[] dst, int offset, int length)(Code) | | |
dispose | public void dispose()(Code) | | |
get | public byte get(int index)(Code) | | |
getFloat | public float getFloat()(Code) | | |
getFloat | public float getFloat(int index)(Code) | | |
getInt | public int getInt()(Code) | | |
getInt | public int getInt(int index)(Code) | | |
getShort | public short getShort()(Code) | | |
getShort | public short getShort(int index)(Code) | | |
isBigEndian | public static boolean isBigEndian()(Code) | | |
isDirect | public boolean isDirect()(Code) | | |
nativeAddress | public int nativeAddress()(Code) | | |
Methods inherited from java.nio.ByteBuffer | public static ByteBuffer allocateDirect(int capacity)(Code)(Java Doc) final public byte[] array()(Code)(Java Doc) final public int arrayOffset()(Code)(Java Doc) abstract public FloatBuffer asFloatBuffer()(Code)(Java Doc) abstract public IntBuffer asIntBuffer()(Code)(Java Doc) abstract public ShortBuffer asShortBuffer()(Code)(Java Doc) public int compareTo(Object ob)(Code)(Java Doc) public boolean equals(Object ob)(Code)(Java Doc) abstract public byte get()(Code)(Java Doc) abstract public byte get(int index)(Code)(Java Doc) public ByteBuffer get(byte[] dst, int offset, int length)(Code)(Java Doc) public ByteBuffer get(byte[] dst)(Code)(Java Doc) abstract public float getFloat()(Code)(Java Doc) abstract public float getFloat(int index)(Code)(Java Doc) abstract public int getInt()(Code)(Java Doc) abstract public int getInt(int index)(Code)(Java Doc) abstract public short getShort()(Code)(Java Doc) abstract public short getShort(int index)(Code)(Java Doc) final public boolean hasArray()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) abstract public boolean isDirect()(Code)(Java Doc) abstract public ByteBuffer put(byte b)(Code)(Java Doc) abstract public ByteBuffer put(int index, byte b)(Code)(Java Doc) public ByteBuffer put(ByteBuffer src)(Code)(Java Doc) public ByteBuffer put(byte[] src, int offset, int length)(Code)(Java Doc) final public ByteBuffer put(byte[] src)(Code)(Java Doc) abstract public ByteBuffer putFloat(float value)(Code)(Java Doc) abstract public ByteBuffer putFloat(int index, float value)(Code)(Java Doc) abstract public ByteBuffer putInt(int value)(Code)(Java Doc) abstract public ByteBuffer putInt(int index, int value)(Code)(Java Doc) abstract public ByteBuffer putShort(short value)(Code)(Java Doc) abstract public ByteBuffer putShort(int index, short value)(Code)(Java Doc) abstract public ByteBuffer slice()(Code)(Java Doc) public String toString()(Code)(Java Doc) public static ByteBuffer wrap(byte[] array, int offset, int length)(Code)(Java Doc) public static ByteBuffer wrap(byte[] array)(Code)(Java Doc)
|
|
|