Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/argumentcomputer/ix
/ c_usize_to_le_bytes
Function
c_usize_to_le_bytes
crates/ffi/src/unsigned.rs:19–21 ·
view source on GitHub ↗
(v: usize)
Source
from the content-addressed store, hash-verified
17
18
#[unsafe(no_mangle)]
19
extern
"C"
fn c_usize_to_le_bytes(v: usize) -> LeanByteArray<LeanOwned> {
20
LeanByteArray::from_bytes(&v.to_le_bytes())
21
}
Callers
nothing calls this directly
Calls
1
from_bytes
Function · 0.85
Tested by
no test coverage detected