MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / chunk_slice

Method chunk_slice

crates/tinywasm/src/store/memory/paged.rs:69–71  ·  view source on GitHub ↗
(&self, chunk_idx: usize)

Source from the content-addressed store, hash-verified

67
68 #[inline(always)]
69 fn chunk_slice(&self, chunk_idx: usize) -> Option<&[u8]> {
70 self.chunks[chunk_idx].as_deref()
71 }
72
73 #[inline(always)]
74 fn checked_end(&self, addr: usize, len: usize) -> Option<usize> {

Callers 6

readMethod · 0.80
read_8Method · 0.80
read_16Method · 0.80
read_32Method · 0.80
read_64Method · 0.80
read_128Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected