public interface BasicBytez extends ByteSource, ByteSink
| Modifier and Type | Method and Description |
|---|---|
void |
copyTo(BasicBytez other,
long otherByteIndex,
long myByteIndex,
long lenBytes) |
byte |
get(long byteIndex) |
void |
getArr(long byteIndex,
byte[] target,
int elemoff,
int numElems)
copy to a byte array
|
boolean |
getBool(long byteIndex) |
void |
getBooleanArr(long byteIndex,
boolean[] target,
int elemoff,
int numElems)
see getArr
|
char |
getChar(long byteIndex) |
void |
getCharArr(long byteIndex,
char[] target,
int elemoff,
int numElems)
see getArr
|
double |
getDouble(long byteIndex) |
void |
getDoubleArr(long byteIndex,
double[] target,
int elemoff,
int numElems)
see getArr
|
float |
getFloat(long byteIndex) |
void |
getFloatArr(long byteIndex,
float[] target,
int elemoff,
int numElems)
see getArr
|
int |
getInt(long byteIndex) |
void |
getIntArr(long byteIndex,
int[] target,
int elemoff,
int numElems)
see getArr
|
long |
getLong(long byteIndex) |
void |
getLongArr(long byteIndex,
long[] target,
int elemoff,
int numElems)
see getArr
|
short |
getShort(long byteIndex) |
void |
getShortArr(long byteIndex,
short[] target,
int elemoff,
int numElems)
see getArr
|
long |
length() |
BasicBytez |
newInstance(long size) |
void |
put(long byteIndex,
byte value) |
void |
putBool(long byteIndex,
boolean val) |
void |
putChar(long byteIndex,
char c) |
void |
putDouble(long byteIndex,
double d) |
void |
putFloat(long byteIndex,
float f) |
void |
putInt(long byteIndex,
int i) |
void |
putLong(long byteIndex,
long l) |
void |
putShort(long byteIndex,
short s) |
void |
set(long byteIndex,
byte[] source,
int elemoff,
int numElems) |
void |
setBoolean(long byteIndex,
boolean[] o,
int i,
int siz) |
void |
setChar(long byteIndex,
char[] source,
int elemoff,
int numElems) |
void |
setDouble(long byteIndex,
double[] source,
int elemoff,
int numElems) |
void |
setFloat(long byteIndex,
float[] source,
int elemoff,
int numElems) |
void |
setInt(long byteIndex,
int[] source,
int elemoff,
int numElems) |
void |
setLong(long byteIndex,
long[] source,
int elemoff,
int numElems) |
void |
setShort(long byteIndex,
short[] source,
int elemoff,
int numElems) |
byte get(long byteIndex)
get in interface ByteSourceboolean getBool(long byteIndex)
char getChar(long byteIndex)
short getShort(long byteIndex)
int getInt(long byteIndex)
long getLong(long byteIndex)
float getFloat(long byteIndex)
double getDouble(long byteIndex)
void putBool(long byteIndex,
boolean val)
void putChar(long byteIndex,
char c)
void putShort(long byteIndex,
short s)
void putInt(long byteIndex,
int i)
void putLong(long byteIndex,
long l)
void putFloat(long byteIndex,
float f)
void putDouble(long byteIndex,
double d)
long length()
length in interface ByteSinklength in interface ByteSourcevoid getArr(long byteIndex,
byte[] target,
int elemoff,
int numElems)
byteIndex - - offset index in this buffer to start copyingtarget - - array to copy toelemoff - - offset in target arraynumElems - - length to copy tovoid getCharArr(long byteIndex,
char[] target,
int elemoff,
int numElems)
void getShortArr(long byteIndex,
short[] target,
int elemoff,
int numElems)
void getIntArr(long byteIndex,
int[] target,
int elemoff,
int numElems)
void getLongArr(long byteIndex,
long[] target,
int elemoff,
int numElems)
void getFloatArr(long byteIndex,
float[] target,
int elemoff,
int numElems)
void getDoubleArr(long byteIndex,
double[] target,
int elemoff,
int numElems)
void getBooleanArr(long byteIndex,
boolean[] target,
int elemoff,
int numElems)
void set(long byteIndex,
byte[] source,
int elemoff,
int numElems)
void setChar(long byteIndex,
char[] source,
int elemoff,
int numElems)
void setShort(long byteIndex,
short[] source,
int elemoff,
int numElems)
void setInt(long byteIndex,
int[] source,
int elemoff,
int numElems)
void setLong(long byteIndex,
long[] source,
int elemoff,
int numElems)
void setFloat(long byteIndex,
float[] source,
int elemoff,
int numElems)
void setDouble(long byteIndex,
double[] source,
int elemoff,
int numElems)
void setBoolean(long byteIndex,
boolean[] o,
int i,
int siz)
void copyTo(BasicBytez other, long otherByteIndex, long myByteIndex, long lenBytes)
BasicBytez newInstance(long size)
Copyright © 2015. All rights reserved.