MCPcopy Create free account
hub / github.com/TeamPiped/piped-proxy / read_buf

Function read_buf

src/utils.rs:7–11  ·  view source on GitHub ↗
(buf: &[u8], pos: &mut usize)

Source from the content-addressed store, hash-verified

5use std::env;
6
7pub fn read_buf(buf: &[u8], pos: &mut usize) -> u8 {
8 let byte = buf[*pos];
9 *pos += 1;
10 byte
11}
12
13fn finalize_url(path: &str, query: BTreeMap<String, String>) -> String {
14 #[cfg(feature = "qhash")]

Callers 1

read_variable_integerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected