MCPcopy Index your code
hub / github.com/RustPython/RustPython / read_u32

Method read_u32

crates/compiler-core/src/marshal.rs:143–145  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

141 }
142
143 fn read_u32(&mut self) -> Result<u32> {
144 Ok(u32::from_le_bytes(*self.read_array()?))
145 }
146
147 fn read_u64(&mut self) -> Result<u64> {
148 Ok(u64::from_le_bytes(*self.read_array()?))

Callers 10

deserialize_codeFunction · 0.80
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
decodeMethod · 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