List of utility methods to do Char Array to Int
int | charArrayDecimalToInt(char[] str, int start, int len, int mul) char Array Decimal To Int int v = 0; int f = 0; int m = mul; boolean p = false; for (int i = start; i < start + len; i++) { int bit = -1; switch (str[i]) { case '0': ... |
int | charArrayDigitToInt(char[] str, int start, int len) char Array Digit To Int int value = 0; for (int i = start; i < start + len; i++) { value = value * 10; switch (str[i]) { case '0': value += 0x00; break; case '1': ... |
int | charArrayHexToInt(char[] str, int start, int len) char Array Hex To Int int value = 0; for (int i = start; i < start + len; i++) { value = value * 0x10; switch (str[i]) { case '0': value += 0x00; break; case '1': ... |
int | charArrayToInt(char[] data, int start, int length, int[] end) char Array To Int boolean neg = false; if (data[start] == '-') { neg = true; start++; } else if (data[start] == '+') { start++; int result = 0; ... |
int | charsToInt(char[] chars, int offset) chars To Int int high = (chars[offset] << 16); return high + chars[offset + 1]; |