Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/WASI-Virt
/ encode
Method
encode
src/data.rs:45–47 ·
view source on GitHub ↗
(&self, bytes: &mut [u8])
Source
from the content-addressed store, hash-verified
43
}
44
45
fn encode(&self, bytes: &mut [u8]) {
46
bytes[0..4].copy_from_slice(&self.to_le_bytes());
47
}
48
}
49
50
impl Data {
Callers
3
finish
Method · 0.45
write_slice
Method · 0.45
virt_test
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected