MCPcopy Create free account
hub / github.com/bluejekyll/wasmtime-java / wasm_slice

Method wasm_slice

wasmtime-jni/src/ty/wasm_alloc.rs:207–209  ·  view source on GitHub ↗

Copy out the WasmSlice, careful, the lifetime of this is really tied to the memory lifetime backing the WasmAlloc

(&self)

Source from the content-addressed store, hash-verified

205
206 /// Copy out the WasmSlice, careful, the lifetime of this is really tied to the memory lifetime backing the WasmAlloc
207 pub fn wasm_slice(&self) -> WasmSlice {
208 self.wasm_slice
209 }
210}
211
212impl<'w> Deref for WasmSliceWrapper<'w> {

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected