static byte[] | concat(byte[] b1, byte[] b2) - Concatenate two byte arrays into one.
|
static String | formatInt(int i, int radix, int len) - Format an integer into the specified radix, zero-filled.
|
static String | hexDump(byte[] buf) - See
hexDump(byte[],int,int,String) .
|
static String | hexDump(byte[] buf, int off, int len) - See
hexDump(byte[],int,int,String) .
|
static String | hexDump(byte[] buf, int off, int len, String prefix) - Create a representation of the given byte array similar to the
output of
`hexdump -C' , which is
OFFSET SIXTEEN-BYTES-IN-HEX PRINTABLE-BYTES
The printable bytes show up as-is if they are printable and
not a newline character, otherwise showing as '.'.
|
static String | hexDump(byte[] buf, String prefix) - See
hexDump(byte[],int,int,String) .
|
static String | hexDump(ByteBuffer buf)
|
static String | hexDump(ByteBuffer buf, String prefix)
|
static byte[] | toByteArray(String hex) - Convert a hexadecimal string into its byte representation.
|
static String | toHexString(byte[] buf) - See
toHexString(byte[],int,int) .
|
static String | toHexString(byte[] buf, char sep) - See
toHexString(byte[],int,int,char) .
|
static String | toHexString(byte[] buf, int off, int len) - Convert a byte array to a hexadecimal string, as though it were a
big-endian arbitrarily-sized integer.
|
static String | toHexString(byte[] buf, int off, int len, char sep) - Convert a byte array to a hexadecimal string, separating octets
with the given character.
|
static byte[] | trim(byte[] buffer, int len) - See
trim(byte[],int,int) .
|
static byte[] | trim(byte[] buffer, int off, int len) - Returns a portion of a byte array, possibly zero-filled.
|
static byte[] | trim(BigInteger bi) - Returns the byte array representation of the given big integer with
the leading zero byte (if any) trimmed off.
|
static int | unixTime() - Returns the integer value of
System.currentTimeMillis() / 1000 .
|
static Object | wrapBuffer(ByteBuffer buffer)
|
static Object | wrapBuffer(ByteBuffer buffer, String prefix)
|