Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ read_u8
Method
read_u8
crates/compiler-core/src/marshal.rs:135–137 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
133
}
134
135
fn read_u8(&mut self) -> Result<u8> {
136
Ok(u8::from_le_bytes(*self.read_array()?))
137
}
138
139
fn read_u16(&mut self) -> Result<u16> {
140
Ok(u16::from_le_bytes(*self.read_array()?))
Callers
9
read_marshal_bytes
Function · 0.80
read_marshal_str
Function · 0.80
read_marshal_str_vec
Function · 0.80
read_marshal_name_tuple
Function · 0.80
read_marshal_const_tuple
Function · 0.80
deserialize_value_depth
Function · 0.80
deserialize_value_typed
Function · 0.80
read_float_str
Function · 0.80
read_entry
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