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

Function read_u16

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

Source from the content-addressed store, hash-verified

37}
38
39fn read_u16(bytes: &[u8], offset: usize) -> u16 {
40 u16::from_le_bytes([bytes[offset], bytes[offset + 1]])
41}
42
43fn read_u32(bytes: &[u8], offset: usize) -> u32 {
44 u32::from_le_bytes([

Callers 3

parse_sectionsFunction · 0.70
parse_symbolsFunction · 0.70

Calls

no outgoing calls

Tested by 1