MCPcopy 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_bytesFunction · 0.80
read_marshal_strFunction · 0.80
read_marshal_str_vecFunction · 0.80
read_marshal_name_tupleFunction · 0.80
read_marshal_const_tupleFunction · 0.80
deserialize_value_depthFunction · 0.80
deserialize_value_typedFunction · 0.80
read_float_strFunction · 0.80
read_entryFunction · 0.80

Implementers 3

openssl.rscrates/stdlib/src/openssl.rs
socket.rscrates/stdlib/src/socket.rs
marshal.rscrates/compiler-core/src/marshal.rs

Calls 1

read_arrayMethod · 0.45

Tested by

no test coverage detected