Here you can find the source of appendHexDumpRowPrefix(StringBuilder dump, int row, int rowStartIndex)
private static void appendHexDumpRowPrefix(StringBuilder dump, int row, int rowStartIndex)
//package com.java2s; //License from project: Open Source License public class Main { private static final String NEWLINE = "\n"; private static void appendHexDumpRowPrefix(StringBuilder dump, int row, int rowStartIndex) { dump.append(NEWLINE);//from w w w . ja va 2 s.c o m dump.append(Long.toHexString(rowStartIndex & 0xFFFFFFFFL | 0x100000000L)); dump.setCharAt(dump.length() - 9, '|'); dump.append('|'); } }