Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_payload
Function · 0.80
read_u64_payload
Function · 0.80
read_scalar_value
Function · 0.80
skip_value
Function · 0.80
fory_read_data
Method · 0.80
test_buffer
Function · 0.80
fory_read_data
Method · 0.80
fory_read_data
Method · 0.80
bench_read_i32
Function · 0.80
Calls
1
read_u32
Method · 0.80
Tested by
1
test_buffer
Function · 0.64