Searched refs:hexChars (Results 1 – 2 of 2) sorted by relevance
121 char[] hexChars = new char[bytes.length * 2]; // Each byte has two hex characters (nibbles) in ByteArrayToHexString() local125 hexChars[j * 2] = hexArray[v >>> 4]; // Select hex character from upper nibble in ByteArrayToHexString()126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; // Select hex character from lower nibble in ByteArrayToHexString()128 return new String(hexChars); in ByteArrayToHexString()
121 char[] hexChars = new char[bytes.length * 2]; in ByteArrayToHexString() local125 hexChars[j * 2] = hexArray[v >>> 4]; in ByteArrayToHexString()126 hexChars[j * 2 + 1] = hexArray[v & 0x0F]; in ByteArrayToHexString()128 return new String(hexChars); in ByteArrayToHexString()