com.tc.bytes
Interface TCByteBuffer
- All Superinterfaces:
- Recyclable
public interface TCByteBuffer
- extends Recyclable
Method Summary |
byte[] |
array()
|
int |
arrayOffset()
|
TCByteBuffer |
asReadOnlyBuffer()
|
int |
capacity()
|
void |
checkedOut()
|
TCByteBuffer |
clear()
|
void |
commit()
|
TCByteBuffer |
duplicate()
|
TCByteBuffer |
flip()
|
byte |
get()
|
TCByteBuffer |
get(byte[] dst)
|
TCByteBuffer |
get(byte[] dst,
int offset,
int length)
|
byte |
get(int index)
|
TCByteBuffer |
get(int index,
byte[] dst)
|
TCByteBuffer |
get(int index,
byte[] dst,
int offset,
int length)
|
boolean |
getBoolean()
|
boolean |
getBoolean(int index)
|
BufferPool |
getBufferPool()
|
char |
getChar()
|
char |
getChar(int index)
|
double |
getDouble()
|
double |
getDouble(int index)
|
float |
getFloat()
|
float |
getFloat(int index)
|
int |
getInt()
|
int |
getInt(int index)
|
long |
getLong()
|
long |
getLong(int index)
|
java.nio.ByteBuffer |
getNioBuffer()
|
short |
getShort()
|
short |
getShort(int index)
|
short |
getUbyte()
|
short |
getUbyte(int index)
|
long |
getUint()
|
long |
getUint(int index)
|
int |
getUshort()
|
int |
getUshort(int index)
|
boolean |
hasArray()
|
boolean |
hasRemaining()
|
boolean |
isDirect()
|
boolean |
isReadOnly()
|
int |
limit()
|
TCByteBuffer |
limit(int newLimit)
|
int |
position()
|
TCByteBuffer |
position(int newPosition)
|
TCByteBuffer |
put(byte b)
|
TCByteBuffer |
put(byte[] src)
|
TCByteBuffer |
put(byte[] src,
int offset,
int length)
|
TCByteBuffer |
put(int index,
byte b)
|
TCByteBuffer |
put(int index,
byte[] src)
|
TCByteBuffer |
put(int index,
byte[] src,
int offset,
int length)
|
TCByteBuffer |
put(TCByteBuffer src)
|
TCByteBuffer |
putBoolean(boolean b)
|
TCByteBuffer |
putBoolean(int index,
boolean b)
|
TCByteBuffer |
putChar(char c)
|
TCByteBuffer |
putChar(int index,
char c)
|
TCByteBuffer |
putDouble(double d)
|
TCByteBuffer |
putDouble(int index,
double d)
|
TCByteBuffer |
putFloat(float f)
|
TCByteBuffer |
putFloat(int index,
float f)
|
TCByteBuffer |
putInt(int i)
|
TCByteBuffer |
putInt(int index,
int i)
|
TCByteBuffer |
putLong(int index,
long l)
|
TCByteBuffer |
putLong(long l)
|
TCByteBuffer |
putShort(int index,
short s)
|
TCByteBuffer |
putShort(short s)
|
TCByteBuffer |
putUbyte(int index,
short value)
|
TCByteBuffer |
putUbyte(short value)
|
TCByteBuffer |
putUint(int index,
long i)
|
TCByteBuffer |
putUint(long i)
|
TCByteBuffer |
putUshort(int s)
|
TCByteBuffer |
putUshort(int index,
int s)
|
TCByteBuffer |
reInit()
|
int |
remaining()
|
TCByteBuffer |
rewind()
|
TCByteBuffer |
slice()
|
clear
TCByteBuffer clear()
reInit
TCByteBuffer reInit()
capacity
int capacity()
position
int position()
flip
TCByteBuffer flip()
hasRemaining
boolean hasRemaining()
limit
int limit()
limit
TCByteBuffer limit(int newLimit)
position
TCByteBuffer position(int newPosition)
remaining
int remaining()
rewind
TCByteBuffer rewind()
getNioBuffer
java.nio.ByteBuffer getNioBuffer()
isDirect
boolean isDirect()
array
byte[] array()
get
byte get()
getBoolean
boolean getBoolean()
getBoolean
boolean getBoolean(int index)
getChar
char getChar()
getChar
char getChar(int index)
getDouble
double getDouble()
getDouble
double getDouble(int index)
getFloat
float getFloat()
getFloat
float getFloat(int index)
getInt
int getInt()
getInt
int getInt(int index)
getLong
long getLong()
getLong
long getLong(int index)
getShort
short getShort()
getShort
short getShort(int index)
get
TCByteBuffer get(byte[] dst)
get
TCByteBuffer get(byte[] dst,
int offset,
int length)
get
byte get(int index)
put
TCByteBuffer put(byte b)
put
TCByteBuffer put(byte[] src)
put
TCByteBuffer put(byte[] src,
int offset,
int length)
put
TCByteBuffer put(int index,
byte b)
putBoolean
TCByteBuffer putBoolean(boolean b)
putBoolean
TCByteBuffer putBoolean(int index,
boolean b)
putChar
TCByteBuffer putChar(char c)
putChar
TCByteBuffer putChar(int index,
char c)
putDouble
TCByteBuffer putDouble(double d)
putDouble
TCByteBuffer putDouble(int index,
double d)
putFloat
TCByteBuffer putFloat(float f)
putFloat
TCByteBuffer putFloat(int index,
float f)
putInt
TCByteBuffer putInt(int i)
putInt
TCByteBuffer putInt(int index,
int i)
putLong
TCByteBuffer putLong(long l)
putLong
TCByteBuffer putLong(int index,
long l)
putShort
TCByteBuffer putShort(short s)
putShort
TCByteBuffer putShort(int index,
short s)
duplicate
TCByteBuffer duplicate()
put
TCByteBuffer put(TCByteBuffer src)
slice
TCByteBuffer slice()
arrayOffset
int arrayOffset()
asReadOnlyBuffer
TCByteBuffer asReadOnlyBuffer()
isReadOnly
boolean isReadOnly()
hasArray
boolean hasArray()
get
TCByteBuffer get(int index,
byte[] dst)
get
TCByteBuffer get(int index,
byte[] dst,
int offset,
int length)
put
TCByteBuffer put(int index,
byte[] src)
put
TCByteBuffer put(int index,
byte[] src,
int offset,
int length)
putUint
TCByteBuffer putUint(long i)
putUint
TCByteBuffer putUint(int index,
long i)
putUshort
TCByteBuffer putUshort(int s)
putUshort
TCByteBuffer putUshort(int index,
int s)
getUint
long getUint()
getUint
long getUint(int index)
getUshort
int getUshort()
getUshort
int getUshort(int index)
getUbyte
short getUbyte()
getUbyte
short getUbyte(int index)
putUbyte
TCByteBuffer putUbyte(int index,
short value)
putUbyte
TCByteBuffer putUbyte(short value)
commit
void commit()
checkedOut
void checkedOut()
getBufferPool
BufferPool getBufferPool()
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.