MCPcopy Create free account
hub / github.com/apache/fory / read_u64

Method read_u64

rust/fory-core/src/buffer.rs:780–785  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

778
779 #[inline(always)]
780 pub fn read_u64(&mut self) -> Result<u64, Error> {
781 self.check_bound(8)?;
782 let result = LittleEndian::read_u64(&self.bf[self.cursor..self.cursor + 8]);
783 self.cursor += 8;
784 Ok(result)
785 }
786
787 // ============ VAR_UINT64 (TypeId = 14) ============
788

Callers 6

read_i64Method · 0.80
read_var_u36_smallMethod · 0.80
read_i64_payloadFunction · 0.80
read_u64_payloadFunction · 0.80
read_scalar_valueFunction · 0.80
skip_valueFunction · 0.80

Calls 1

check_boundMethod · 0.80

Tested by

no test coverage detected