MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / hex_value

Function hex_value

crates/openshell-supervisor-network/src/l7/rest.rs:987–994  ·  view source on GitHub ↗
(byte: u8)

Source from the content-addressed store, hash-verified

985}
986
987fn hex_value(byte: u8) -> Option<u8> {
988 match byte {
989 b'0'..=b'9' => Some(byte - b'0'),
990 b'a'..=b'f' => Some(byte - b'a' + 10),
991 b'A'..=b'F' => Some(byte - b'A' + 10),
992 _ => None,
993 }
994}
995
996async fn collect_chunked_body<C: AsyncRead + Unpin>(
997 client: &mut C,

Callers 1

form_url_decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected