public class DataUtils
extends java.lang.Object
Constructor and Description |
---|
DataUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getHexStringInt(int value)
Get the String representation of a hex integer.
|
static java.lang.String |
getStringArray(java.nio.ByteBuffer buffer,
int wrap,
int max)
Get a String representation of an array of integer data in hex.
|
public static java.lang.String getHexStringInt(int value)
value
- int value.public static java.lang.String getStringArray(java.nio.ByteBuffer buffer, int wrap, int max)
buffer
- contains int data.wrap
- number of int before inserting newline.max
- max number of int to display.