MCPcopy Create free account
hub / github.com/apache/arrow-rs / invalid_hex_error_at

Function invalid_hex_error_at

arrow-json/src/reader/binary_array.rs:39–43  ·  view source on GitHub ↗
(index: usize, byte: u8)

Source from the content-addressed store, hash-verified

37}
38
39fn 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
45fn decode_hex_to_writer<W: Write>(hex_string: &str, writer: &mut W) -> Result<(), ArrowError> {
46 let bytes = hex_string.as_bytes();

Callers 1

decode_hex_to_writerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected