public class Byt
extends java.lang.Object
| Constructor and Description |
|---|
Byt() |
| Modifier and Type | Method and Description |
|---|---|
static void |
_idx(byte[] array,
int startIndex,
byte[] input) |
static byte[] |
add(byte[] array,
byte v) |
static byte[] |
add(byte[] array,
byte[] array2) |
static byte[] |
addChar(byte[] array,
char value) |
static byte[] |
addDouble(byte[] array,
double value) |
static byte[] |
addFloat(byte[] array,
float value) |
static byte[] |
addInt(byte[] array,
int v) |
static byte[] |
addLong(byte[] array,
long value) |
static byte[] |
addShort(byte[] array,
short value) |
static byte[] |
array(byte... array) |
static byte[] |
arrayOfByte(int size)
Creates an array of bytes
|
static byte[] |
bytes(byte... array) |
static byte[] |
bytes(java.lang.String str) |
static void |
charTo(byte[] b,
int off,
char val) |
static byte[] |
compact(byte[] array) |
static byte[] |
copy(byte[] array) |
static byte[] |
copy(byte[] array,
int offset,
int length) |
static void |
doubleTo(byte[] b,
int off,
double val) |
static void |
floatTo(byte[] array,
int off,
float val) |
static byte[] |
grow(byte[] array) |
static byte[] |
grow(byte[] array,
int size) |
static byte |
idx(byte[] array,
int index) |
static void |
idx(byte[] array,
int index,
byte value) |
static char |
idxChar(byte[] b,
int off) |
static double |
idxDouble(byte[] b,
int off) |
static float |
idxFloat(byte[] array,
int off) |
static int |
idxInt(byte[] bytes,
int off) |
static long |
idxLong(byte[] b,
int off) |
static short |
idxShort(byte[] b,
int off) |
static boolean |
in(int value,
byte[] array) |
static boolean |
in(int value,
int offset,
byte[] array) |
static boolean |
in(int value,
int offset,
int end,
byte[] array) |
static boolean |
inIntArray(byte value,
int[] array) |
static byte[] |
insert(byte[] array,
int idx,
byte v) |
static byte[] |
insert(byte[] array,
int fromIndex,
byte[] values) |
static byte[] |
insertCharInto(byte[] array,
int index,
char value) |
static byte[] |
insertDoubleInto(byte[] array,
int index,
double value) |
static byte[] |
insertFloatInto(byte[] array,
int index,
float value) |
static byte[] |
insertIntInto(byte[] array,
int index,
int v) |
static byte[] |
insertShortInto(byte[] array,
int index,
short value) |
static void |
intTo(byte[] b,
int off,
int val) |
static int |
len(byte[] array) |
static void |
longTo(byte[] b,
int off,
long val) |
static void |
shortTo(byte[] b,
int off,
short val) |
static byte[] |
shrink(byte[] array,
int size) |
static byte[] |
slc(byte[] array,
int startIndex) |
static byte[] |
slc(byte[] array,
int startIndex,
int endIndex) |
static byte[] |
slcEnd(byte[] array,
int endIndex) |
public static byte[] grow(byte[] array,
int size)
public static byte[] grow(byte[] array)
public static byte[] shrink(byte[] array,
int size)
public static byte[] compact(byte[] array)
public static byte[] arrayOfByte(int size)
size - size of the array you want to makepublic static byte[] array(byte... array)
array - public static byte[] bytes(byte... array)
array - public static byte[] bytes(java.lang.String str)
str - public static int len(byte[] array)
public static byte idx(byte[] array,
int index)
public static void idx(byte[] array,
int index,
byte value)
public static byte[] slc(byte[] array,
int startIndex,
int endIndex)
public static byte[] slc(byte[] array,
int startIndex)
public static byte[] slcEnd(byte[] array,
int endIndex)
public static boolean in(int value,
byte[] array)
public static boolean inIntArray(byte value,
int[] array)
public static boolean in(int value,
int offset,
byte[] array)
public static boolean in(int value,
int offset,
int end,
byte[] array)
public static byte[] copy(byte[] array)
public static byte[] copy(byte[] array,
int offset,
int length)
public static byte[] add(byte[] array,
byte v)
public static byte[] add(byte[] array,
byte[] array2)
public static byte[] insert(byte[] array,
int idx,
byte v)
public static byte[] insert(byte[] array,
int fromIndex,
byte[] values)
public static int idxInt(byte[] bytes,
int off)
public static byte[] addInt(byte[] array,
int v)
public static byte[] insertIntInto(byte[] array,
int index,
int v)
public static void intTo(byte[] b,
int off,
int val)
public static void longTo(byte[] b,
int off,
long val)
public static byte[] addLong(byte[] array,
long value)
public static long idxLong(byte[] b,
int off)
public static short idxShort(byte[] b,
int off)
public static byte[] addShort(byte[] array,
short value)
public static byte[] insertShortInto(byte[] array,
int index,
short value)
public static void shortTo(byte[] b,
int off,
short val)
public static char idxChar(byte[] b,
int off)
public static byte[] addChar(byte[] array,
char value)
public static byte[] insertCharInto(byte[] array,
int index,
char value)
public static void charTo(byte[] b,
int off,
char val)
public static float idxFloat(byte[] array,
int off)
public static byte[] addFloat(byte[] array,
float value)
public static byte[] insertFloatInto(byte[] array,
int index,
float value)
public static void floatTo(byte[] array,
int off,
float val)
public static byte[] addDouble(byte[] array,
double value)
public static byte[] insertDoubleInto(byte[] array,
int index,
double value)
public static void doubleTo(byte[] b,
int off,
double val)
public static double idxDouble(byte[] b,
int off)
public static void _idx(byte[] array,
int startIndex,
byte[] input)