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

Method read_u8

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

Source from the content-addressed store, hash-verified

897 }
898
899 fn read_u8(&mut self) -> Result<u8, OperationCodecError> {
900 Ok(self.read_exact::<1>()?[0])
901 }
902
903 fn read_u32(&mut self) -> Result<u32, OperationCodecError> {
904 Ok(u32::from_le_bytes(self.read_exact()?))

Callers 15

decode_operationFunction · 0.80
expect_versionMethod · 0.80
read_optional_tagMethod · 0.80
read_operation_kindMethod · 0.80
read_metadata_targetMethod · 0.80
read_metadata_valueMethod · 0.80
read_git_headMethod · 0.80
read_git_object_idMethod · 0.80
read_git_ref_targetMethod · 0.80
read_actorMethod · 0.80
read_effect_targetMethod · 0.80

Calls

no outgoing calls