Searched refs:toDigit (Results 1 – 2 of 2) sorted by relevance
209 result[resultOffset++] = (byte) toDigit(encoded, i); in decode()219 result[resultOffset++] = (byte) ((toDigit(encoded, i) << 4) | toDigit(encoded, i + 1)); in decode()225 private static int toDigit(char[] str, int offset) throws IllegalArgumentException { in toDigit() method in HexEncoding
2123 int firstDigit = toDigit(hexString.charAt(0)); in hexToByte()2124 int secondDigit = toDigit(hexString.charAt(1)); in hexToByte()2128 private int toDigit(char hexChar) { in toDigit() method in InboundSmsHandler