public class BinaryUtils extends Object
| Constructor and Description |
|---|
BinaryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
contains(byte[] source,
byte[] value) |
static String |
formatBinary(byte[] data) |
static String |
formatBinary(byte[] data,
int maxBytes,
String truncationSuffix) |
static String |
formatBinaryInTable(byte[] data,
int rowLength,
boolean showRowAddress,
boolean showAscii) |
static String |
formatBinaryInTable(byte[] data,
int dataSize,
int rowLength,
boolean showRowAddress,
boolean showAscii) |
static boolean |
isPrintableChar(char c) |
static byte[] |
parseBinaryString(String data) |
public static byte[] parseBinaryString(String data)
public static String formatBinary(byte[] data)
public static String formatBinaryInTable(byte[] data, int rowLength, boolean showRowAddress, boolean showAscii)
public static String formatBinaryInTable(byte[] data, int dataSize, int rowLength, boolean showRowAddress, boolean showAscii)
public static boolean contains(byte[] source,
byte[] value)
public static boolean isPrintableChar(char c)