Searched refs:hexChars (Results 1 – 3 of 3) sorted by relevance
169 char[] hexChars = new char[bytes.length * 2 + (useSeparator ? bytes.length - 1 : 0)]; in bytesToHex() local173 hexChars[base++] = sep; in bytesToHex()176 hexChars[base++] = hexArray[v >> 4]; in bytesToHex()177 hexChars[base++] = hexArray[v & 0x0F]; in bytesToHex()179 return new String(hexChars); in bytesToHex()
551 char[] hexChars = new char[length * 3]; in bytesToHex() local555 hexChars[i * 3] = hexArray[v >>> 4]; in bytesToHex()556 hexChars[i * 3 + 1] = hexArray[v & 0x0F]; in bytesToHex()557 hexChars[i * 3 + 2] = ' '; in bytesToHex()559 return new String(hexChars); in bytesToHex()
1124 char[] hexChars = new char[bytes.length * 3]; in byteArrayToHexString() local1128 hexChars[j * 3] = hexArray[v >>> 4]; in byteArrayToHexString()1129 hexChars[j * 3 + 1] = hexArray[v & 0x0F]; in byteArrayToHexString()1130 hexChars[j * 3 + 2] = ' '; in byteArrayToHexString()1132 return new String(hexChars); in byteArrayToHexString()