Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ write_u16
Method
write_u16
crates/compiler-core/src/marshal.rs:746–748 ·
view source on GitHub ↗
(&mut self, v: u16)
Source
from the content-addressed store, hash-verified
744
}
745
746
fn write_u16(&mut self, v: u16) {
747
self.write_slice(&v.to_le_bytes())
748
}
749
750
fn write_u32(&mut self, v: u32) {
751
self.write_slice(&v.to_le_bytes())
Callers
2
write_object_depth
Function · 0.80
serialize_value
Function · 0.80
Implementers
1
marshal.rs
crates/compiler-core/src/marshal.rs
Calls
1
write_slice
Method · 0.80
Tested by
no test coverage detected