cx.ath.matthew.utils

Class Hexdump

public class Hexdump extends Object

Field Summary
static char[]hexchars
Method Summary
static Stringformat(byte[] buf)
static Stringformat(byte[] buf, int width)
static voidprint(byte[] buf)
static voidprint(byte[] buf, int width)
static voidprint(byte[] buf, int width, PrintStream out)
static voidprint(byte[] buf, PrintStream out)
static StringtoAscii(byte[] buf)
static StringtoAscii(byte[] buf, int ofs, int len)
static StringtoHex(byte[] buf)
static StringtoHex(byte[] buf, int ofs, int len)

Field Detail

hexchars

public static final char[] hexchars

Method Detail

format

public static String format(byte[] buf)

format

public static String format(byte[] buf, int width)

print

public static void print(byte[] buf)

print

public static void print(byte[] buf, int width)

print

public static void print(byte[] buf, int width, PrintStream out)

print

public static void print(byte[] buf, PrintStream out)

toAscii

public static String toAscii(byte[] buf)

toAscii

public static String toAscii(byte[] buf, int ofs, int len)

toHex

public static String toHex(byte[] buf)

toHex

public static String toHex(byte[] buf, int ofs, int len)