Static Public Member Functions | |
static byte[] | newbytefromoffset (byte[] from, int rank, int blocksize) |
static byte[] | newbytefromprevious (byte[] previous, byte[] addbytes) |
static boolean | copysubsettooffset (byte[] from, int offsetsrc, int length, byte[] tooffset, int offsetdst) |
static boolean | bytesEqualBytes (byte[] from, byte[] to) |
static byte[] | bytesFromFile (String filename) |
Static Protected Attributes | |
static final byte[] | test |
static byte [] openlsd.common.LSDByteToByte.newbytefromoffset | ( | byte[] | from, | |
int | rank, | |||
int | blocksize | |||
) | [static] |
Create a sub array of byte from the array 'from', starting at position (rank-1)*blocksize up to rank*blocksize-1.
from | ||
rank | ||
blocksize |
static byte [] openlsd.common.LSDByteToByte.newbytefromprevious | ( | byte[] | previous, | |
byte[] | addbytes | |||
) | [static] |
Add to previous the array of byte addbytes at the end and return the new array.
previous | ||
addbytes |
static boolean openlsd.common.LSDByteToByte.copysubsettooffset | ( | byte[] | from, | |
int | offsetsrc, | |||
int | length, | |||
byte[] | tooffset, | |||
int | offsetdst | |||
) | [static] |
Copy a sub array of byte to an offset position.
from | array of byte source | |
offsetsrc | position (offset) in source | |
length | length of bytes to copy | |
tooffset | array of byte destination | |
offsetdst | position (offset) in destination |
static boolean openlsd.common.LSDByteToByte.bytesEqualBytes | ( | byte[] | from, | |
byte[] | to | |||
) | [static] |
Check if array of bytes are equals
from | ||
to |
static byte [] openlsd.common.LSDByteToByte.bytesFromFile | ( | String | filename | ) | [static] |
Load a file from filename in a array of byte (function no more used)
filename |
final byte [] openlsd.common.LSDByteToByte.test [static, protected] |
Initial value:
("1234567890abcdefghij1234567890abcdefghij1234567890").getBytes()