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

Method as_slice

pulley/src/decode.rs:144–146  ·  view source on GitHub ↗

Get this stream's underlying bytecode slice.

(&self)

Source from the content-addressed store, hash-verified

142
143 /// Get this stream's underlying bytecode slice.
144 pub fn as_slice(&self) -> &[u8] {
145 &self.bytecode
146 }
147}
148
149impl BytecodeStream for SafeBytecodeStream<'_> {

Callers 6

decode_allMethod · 0.45
mainFunction · 0.45
run_testFunction · 0.45
test_many_parametersFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_many_parametersFunction · 0.36