Java Utililty Methods Byte Array Decode

List of utility methods to do Byte Array Decode

Description

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

Method

StringdecodeToString(byte[] arr)
decode To String
try {
    return new String(decode(arr), ENCODING);
} catch (UnsupportedEncodingException ignore) {
    return null;
intdecodeUnsignedVarInt(byte[] b, int offset)
Decodes an integer as encoded by encodeUnsignedVarInt.
int v = b[offset];
if (v >= 0) {
    return v;
switch ((v >> 4) & 0x07) {
case 0x00:
case 0x01:
case 0x02:
...