question: static public void printHexString ( final StringBuilder sb , final String hexData ) { int rem = hexData . length ( ) ; int curs = 0 ; while ( rem >= 64 ) { sb . append ( String . format ( "%8d: " , curs ) ) ; sb . append ( hexData . substring ( curs , curs + 64 ) + "\n" ) ; curs += 64 ; rem -= 64 ; } }
target:  Formats hex dta into 64 byte rows.