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

Method read_i32

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

Source from the content-addressed store, hash-verified

653
654 #[inline(always)]
655 pub fn read_i32(&mut self) -> Result<i32, Error> {
656 Ok(self.read_u32()? as i32)
657 }
658
659 // ============ VARINT32 (TypeId = 5) ============
660

Callers 9

read_i64_payloadFunction · 0.80
read_u64_payloadFunction · 0.80
read_scalar_valueFunction · 0.80
skip_valueFunction · 0.80
fory_read_dataMethod · 0.80
test_bufferFunction · 0.80
fory_read_dataMethod · 0.80
fory_read_dataMethod · 0.80
bench_read_i32Function · 0.80

Calls 1

read_u32Method · 0.80

Tested by 1

test_bufferFunction · 0.64