(index: usize, byte: u8)
| 37 | } |
| 38 | |
| 39 | fn invalid_hex_error_at(index: usize, byte: u8) -> ArrowError { |
| 40 | ArrowError::JsonError(format!( |
| 41 | "invalid hex encoding in binary data: invalid digit 0x{byte:02x} at position {index}" |
| 42 | )) |
| 43 | } |
| 44 | |
| 45 | fn decode_hex_to_writer<W: Write>(hex_string: &str, writer: &mut W) -> Result<(), ArrowError> { |
| 46 | let bytes = hex_string.as_bytes(); |
no outgoing calls
no test coverage detected