void function ( ByteBuffer arg0 , PrintStream arg1 , int arg2 , int arg3 ) { for ( int loc0 = arg2 ; loc0 < arg2 + arg3 ; loc0 ++ ) { print ( arg0 . get ( loc0 ) , arg1 ) ; if ( ( loc0 - arg2 + 1 ) % 32 == 0 ) { arg1 . println ( ) ; } else if ( ( loc0 - arg2 + 1 ) % 8 == 0 ) { arg1 . print ( "srini_string" ) ; } else { arg1 . print ( "srini_string" ) ; } } }
print a subsection of a byte buffer as nicely formatted groups of hex numbers . output looks like : 01 02 03 04 05 06 07 08 01 02 03 04 05 06 07 08 01 02 03 04 05 06 07 08 01 02 03 04 05 06 07 08 01 02 03 04 05 06 07 08 01 02 03 04 05 06 07 08 01 02 03 04 05 06 07 08 01 02 03 04 05 06 07 08 concode_field_sep PlaceHolder placeHolder concode_field_sep String rjust concode_elem_sep String hex concode_elem_sep String hex concode_elem_sep String hex concode_elem_sep String hex concode_elem_sep String ljust