(byte: u8)
| 28 | |
| 29 | #[inline] |
| 30 | fn decode_hex_digit(byte: u8) -> Option<u8> { |
| 31 | match byte { |
| 32 | b'0'..=b'9' => Some(byte - b'0'), |
| 33 | b'a'..=b'f' => Some(byte - b'a' + 10), |
| 34 | b'A'..=b'F' => Some(byte - b'A' + 10), |
| 35 | _ => None, |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | fn invalid_hex_error_at(index: usize, byte: u8) -> ArrowError { |
| 40 | ArrowError::JsonError(format!( |
no outgoing calls
no test coverage detected