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()
456 char[] hexChars = new char[length * 3]; in bytesToHex() local460 hexChars[i * 3] = hexArray[v >>> 4]; in bytesToHex()461 hexChars[i * 3 + 1] = hexArray[v & 0x0F]; in bytesToHex()462 hexChars[i * 3 + 2] = ' '; in bytesToHex()464 return new String(hexChars); in bytesToHex()
120 char[] hexChars = new char[bytes.length * 2]; in byteArrayToHexString() local123 hexChars[i * 2] = HEX_CHARS[b >>> 4]; in byteArrayToHexString()124 hexChars[i * 2 + 1] = HEX_CHARS[b & 0x0F]; in byteArrayToHexString()126 return new String(hexChars); in byteArrayToHexString()