MCPcopy Create free account
hub / github.com/dprint/jsonc-parser / hex_buf_to_str

Function hex_buf_to_str

src/string.rs:206–208  ·  view source on GitHub ↗
(buf: &[u8; 4])

Source from the content-addressed store, hash-verified

204}
205
206fn hex_buf_to_str(buf: &[u8; 4]) -> String {
207 std::str::from_utf8(buf).unwrap().to_string()
208}
209
210fn parse_hex_char<'a, T: CharProvider<'a>>(chars: &mut T) -> Result<char, ParseStringErrorKind> {
211 let mut buf1 = [0u8; 4];

Callers 1

parse_hex_charFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…