MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / read_u32

Function read_u32

tests/integration/linker.rs:43–50  ·  view source on GitHub ↗
(bytes: &[u8], offset: usize)

Source from the content-addressed store, hash-verified

41}
42
43fn read_u32(bytes: &[u8], offset: usize) -> u32 {
44 u32::from_le_bytes([
45 bytes[offset],
46 bytes[offset + 1],
47 bytes[offset + 2],
48 bytes[offset + 3],
49 ])
50}
51
52fn read_u64(bytes: &[u8], offset: usize) -> u64 {
53 u64::from_le_bytes([

Callers 3

parse_sectionsFunction · 0.70
parse_symbolsFunction · 0.70

Calls

no outgoing calls

Tested by 1