public class Utils
extends java.lang.Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
hexDump(byte[] bytes)
Construct a String containing a hex-dump of a byte array
|
static java.lang.String |
hexDump(java.lang.String label,
byte[] bytes)
Construct a String containing a hex-dump of a byte array
|
static java.lang.Object |
hexDump(java.lang.String string,
java.net.DatagramPacket packet) |
public static java.lang.String hexDump(byte[] bytes)
bytes - the data to dumppublic static java.lang.String hexDump(java.lang.String label,
byte[] bytes)
label - the label of the hexdump or nullbytes - the data to dumppublic static java.lang.Object hexDump(java.lang.String string,
java.net.DatagramPacket packet)
Copyright © 2011. All Rights Reserved.