Get the value of a digit.
(b []byte, i int)
| 56 | |
| 57 | // Get the value of a digit. |
| 58 | func as_digit(b []byte, i int) int { |
| 59 | return int(b[i]) - '0' |
| 60 | } |
| 61 | |
| 62 | // Check if the character at the specified position is a hex-digit. |
| 63 | func is_hex(b []byte, i int) bool { |
no outgoing calls
no test coverage detected