Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
read
Method · 0.80
read_8
Method · 0.80
read_16
Method · 0.80
read_32
Method · 0.80
read_64
Method · 0.80
read_128
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected