MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / p_u32

Function p_u32

crates/hyperqueue/src/common/parser.rs:231–235  ·  view source on GitHub ↗

Parse 4 byte integer.

(input: &str)

Source from the content-addressed store, hash-verified

229
230/// Parse 4 byte integer.
231pub fn p_u32(input: &str) -> NomResult<'_, u32> {
232 map_res(p_integer_string, |number| number.parse())
233 .context(CONTEXT_INTEGER)
234 .parse(input)
235}
236
237/// Parse 8 byte integer
238pub fn p_u64(input: &str) -> NomResult<'_, u64> {

Callers

nothing calls this directly

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected