Android Utililty Methods Byte Array Encode

List of utility methods to do Byte Array Encode

Description

The list of methods to do Byte Array Encode are organized into topic(s).

Method

voidputReverseBytesInt(byte[] bb, int x, int index)
put Reverse Bytes Int
bb[index + 3] = (byte) (x >> 24);
bb[index + 2] = (byte) (x >> 16);
bb[index + 1] = (byte) (x >> 8);
bb[index + 0] = (byte) (x >> 0);
voidputReverseBytesLong(byte[] bb, long x, int index)
put Reverse Bytes Long
bb[index + 7] = (byte) (x >> 56);
bb[index + 6] = (byte) (x >> 48);
bb[index + 5] = (byte) (x >> 40);
bb[index + 4] = (byte) (x >> 32);
bb[index + 3] = (byte) (x >> 24);
bb[index + 2] = (byte) (x >> 16);
bb[index + 1] = (byte) (x >> 8);
bb[index + 0] = (byte) (x >> 0);
...