Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ read_u16
Method
read_u16
crates/compiler-core/src/marshal.rs:139–141 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
137
}
138
139
fn read_u16(&mut self) -> Result<u16> {
140
Ok(u16::from_le_bytes(*self.read_array()?))
141
}
142
143
fn read_u32(&mut self) -> Result<u32> {
144
Ok(u32::from_le_bytes(*self.read_array()?))
Callers
1
read_pylong
Function · 0.80
Implementers
3
openssl.rs
crates/stdlib/src/openssl.rs
socket.rs
crates/stdlib/src/socket.rs
marshal.rs
crates/compiler-core/src/marshal.rs
Calls
1
read_array
Method · 0.45
Tested by
no test coverage detected