MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / read_u32

Method read_u32

atomic-core/src/operation/codec.rs:903–905  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

901 }
902
903 fn read_u32(&mut self) -> Result<u32, OperationCodecError> {
904 Ok(u32::from_le_bytes(self.read_exact()?))
905 }
906
907 fn read_u64(&mut self) -> Result<u64, OperationCodecError> {
908 Ok(u64::from_le_bytes(self.read_exact()?))

Callers 7

decode_effect_receiptFunction · 0.80
read_countMethod · 0.80
read_stringMethod · 0.80
read_blobMethod · 0.80
read_optional_u32Method · 0.80
read_effect_planMethod · 0.80
read_file_stateMethod · 0.80

Calls 1

read_exactMethod · 0.45

Tested by

no test coverage detected