public class DynamicByteBuffer extends Object
Constructor and Description |
---|
DynamicByteBuffer(int initialCapacity,
int expandFactor) |
Modifier and Type | Method and Description |
---|---|
byte[] |
array() |
int |
arrayOffset() |
int |
capacity() |
void |
clear() |
void |
compact() |
DynamicByteBuffer |
duplicate() |
boolean |
equals(Object obj) |
void |
flip() |
byte |
get() |
void |
get(byte[] dst) |
void |
get(byte[] dst,
int offset,
int length) |
byte |
get(int index) |
ByteBuffer |
getByteBuffer() |
char |
getChar() |
char |
getChar(int index) |
int |
getCheckSum() |
double |
getDouble() |
double |
getDouble(int index) |
int |
getExpandFactor() |
float |
getFloat() |
float |
getFloat(int index) |
int |
getInt() |
int |
getInt(int index) |
long |
getLong() |
long |
getLong(int index) |
short |
getShort() |
short |
getShort(int index) |
boolean |
hasArray() |
int |
hashCode() |
boolean |
hasRemaining() |
boolean |
isDirect() |
boolean |
isReadOnly() |
int |
limit() |
void |
limit(int newLimit) |
void |
mark() |
ByteOrder |
order() |
void |
order(ByteOrder bo) |
int |
position() |
void |
position(int newPosition) |
void |
put(byte b) |
void |
put(byte[] src) |
void |
put(byte[] src,
int offset,
int length) |
void |
put(ByteBuffer src) |
void |
put(DynamicByteBuffer src) |
void |
put(int index,
byte b) |
void |
putChar(char value) |
void |
putChar(int index,
char value) |
void |
putCheckSum(int checkSum) |
void |
putDouble(double value) |
void |
putDouble(int index,
double value) |
void |
putFloat(float value) |
void |
putFloat(int index,
float value) |
void |
putInt(int value) |
void |
putInt(int index,
int value) |
void |
putLong(int index,
long value) |
void |
putLong(long value) |
void |
putShort(int index,
short value) |
void |
putShort(short value) |
int |
remaining() |
void |
reset() |
void |
rewind() |
void |
setExpandFactor(int expandFactor) |
void |
slice() |
String |
toString() |
public DynamicByteBuffer(int initialCapacity, int expandFactor)
public int capacity()
public void clear()
public void flip()
public boolean hasRemaining()
public boolean isReadOnly()
public int limit()
public void limit(int newLimit)
public void mark()
public int position()
public void position(int newPosition)
public int remaining()
public void reset()
public void rewind()
public byte[] array()
public int arrayOffset()
public void compact()
public DynamicByteBuffer duplicate()
public byte get()
public void get(byte[] dst)
public void get(byte[] dst, int offset, int length)
public byte get(int index)
public char getChar()
public char getChar(int index)
public double getDouble()
public double getDouble(int index)
public float getFloat()
public float getFloat(int index)
public int getInt()
public int getInt(int index)
public long getLong()
public long getLong(int index)
public short getShort()
public short getShort(int index)
public int getCheckSum()
public boolean hasArray()
public boolean isDirect()
public ByteOrder order()
public void order(ByteOrder bo)
public void put(byte b)
public void put(byte[] src)
public void put(byte[] src, int offset, int length)
public void put(ByteBuffer src)
public void put(DynamicByteBuffer src)
public void put(int index, byte b)
public void putChar(char value)
public void putChar(int index, char value)
public void putDouble(double value)
public void putDouble(int index, double value)
public void putFloat(float value)
public void putFloat(int index, float value)
public void putInt(int value)
public void putInt(int index, int value)
public void putLong(int index, long value)
public void putLong(long value)
public void putShort(int index, short value)
public void putShort(short value)
public void putCheckSum(int checkSum)
public void slice()
public ByteBuffer getByteBuffer()
public void setExpandFactor(int expandFactor)
public int getExpandFactor()
Copyright © 2005–2024 Onix Solutions. All rights reserved.