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

Method wasm_bytecode_for_module

crates/wasmtime/src/runtime/code.rs:231–233  ·  view source on GitHub ↗
(&self, module: StaticModuleIndex)

Source from the content-addressed store, hash-verified

229 /// compiled artifact.
230 #[inline]
231 pub fn wasm_bytecode_for_module(&self, module: StaticModuleIndex) -> Option<&[u8]> {
232 self.original_code.wasm_bytecode_for_module(module)
233 }
234
235 /// Returns the raw image as bytes (in our internal image format).
236 pub fn image(&self) -> &[u8] {

Callers 1

bytecodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected