HyperView2.959 bannerDocumentation
 
HexFormat.class

This class takes byte data and formats it as such....
Dos dump image




public static String formatByteArray(int ,byte[],int,boolean)

Return a String representation of the byte[] array data

int      = start offset of data.
byte[] = the source data
int      = length of data
boolean = ADD CR/LF at end of String



public static String formatByteArray(int ,byte[],boolean)
Return a String representation of the byte[] array data

 int      = start offset of data.
byte[] = the source data
boolean = ADD CR/LF at end of String


static void formatByteArray(String[],int,byte[])
Put data into line delimited Strings.
 

String[] = the destination String array.
int      = start offset of data.
byte[] = the source data





byte testData[]

System.out.println(HexFormat.formatByteArray(0,testData,true));