MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / size_bytes

Method size_bytes

crates/debugger/src/host/api.rs:448–452  ·  view source on GitHub ↗
(&mut self, self_: Resource<Memory>, d: Resource<Debuggee>)

Source from the content-addressed store, hash-verified

446
447impl wit::HostMemory for ResourceTable {
448 async fn size_bytes(&mut self, self_: Resource<Memory>, d: Resource<Debuggee>) -> Result<u64> {
449 let memory = *self.get(&self_)?;
450 let d = debugger(self, &d)?;
451 d.memory_size_bytes(memory).await
452 }
453
454 async fn page_size_bytes(
455 &mut self,

Callers

nothing calls this directly

Calls 3

debuggerFunction · 0.85
memory_size_bytesMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected