Returns an error for a given byte `b` and context `ctx`
(b: u8, ctx: &str)
| 700 | |
| 701 | /// Returns an error for a given byte `b` and context `ctx` |
| 702 | fn err(b: u8, ctx: &str) -> ArrowError { |
| 703 | ArrowError::JsonError(format!( |
| 704 | "Encountered unexpected '{}' whilst {ctx}", |
| 705 | b as char |
| 706 | )) |
| 707 | } |
| 708 | |
| 709 | /// Creates a character from an UTF-16 surrogate pair |
| 710 | fn char_from_surrogate_pair(low: u16, high: u16) -> Result<char, ArrowError> { |
no outgoing calls
no test coverage detected