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

Method encode

pulley/src/encode.rs:21–26  ·  view source on GitHub ↗
(&self, sink: &mut E)

Source from the content-addressed store, hash-verified

19 const WIDTH: u8 = 1;
20
21 fn encode<E>(&self, sink: &mut E)
22 where
23 E: Extend<u8>,
24 {
25 sink.extend(core::iter::once(*self));
26 }
27}
28
29impl Encode for u16 {

Callers 5

nop_is_single_byteFunction · 0.45
encodedFunction · 0.45
encodedFunction · 0.45
disassemble_br_tableFunction · 0.45
roundtripFunction · 0.45

Calls 4

fromFunction · 0.85
to_bitsetMethod · 0.80
extendMethod · 0.45
to_bitsMethod · 0.45

Tested by 3

encodedFunction · 0.36
encodedFunction · 0.36
disassemble_br_tableFunction · 0.36