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

Method read_i64

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

Source from the content-addressed store, hash-verified

909 }
910
911 fn read_i64(&mut self) -> Result<i64, OperationCodecError> {
912 Ok(i64::from_le_bytes(self.read_exact()?))
913 }
914
915 fn read_count(&mut self, field: &str) -> Result<usize, OperationCodecError> {
916 let count = self.read_u32()? as usize;

Callers 2

decode_operationFunction · 0.80
decode_effect_receiptFunction · 0.80

Calls 1

read_exactMethod · 0.45

Tested by

no test coverage detected