public class ArrayUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
toHexString(byte[] bytes)
Format a byte array as a string of hexadecimal values
|
static String |
toHexString(byte[] bytes,
int columns)
Format a byte array as a string of hexadecimal values
|
static String |
toHexString(byte[] bytes,
int columns,
boolean decorate)
Format a byte array as a string of hexadecimal values
|
public static String toHexString(byte[] bytes)
bytes - The input arraypublic static String toHexString(byte[] bytes, int columns)
bytes - The input arraycolumns - The number of values per rowpublic static String toHexString(byte[] bytes, int columns, boolean decorate)
bytes - The input arraycolumns - The number of values per rowdecorate - If true, prepend "0x" to each byte valueCopyright © 2018. All rights reserved.