Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
29
impl Encode for u16 {
Callers
5
nop_is_single_byte
Function · 0.45
encoded
Function · 0.45
encoded
Function · 0.45
disassemble_br_table
Function · 0.45
roundtrip
Function · 0.45
Calls
4
from
Function · 0.85
to_bitset
Method · 0.80
extend
Method · 0.45
to_bits
Method · 0.45
Tested by
3
encoded
Function · 0.36
encoded
Function · 0.36
disassemble_br_table
Function · 0.36