MCPcopy Create free account
hub / github.com/apache/paimon-rust / read_i32_at

Method read_i32_at

crates/paimon/src/spec/binary_row.rs:159–161  ·  view source on GitHub ↗
(&self, offset: usize)

Source from the content-addressed store, hash-verified

157 }
158
159 fn read_i32_at(&self, offset: usize) -> crate::Result<i32> {
160 self.read_slice::<4>(offset).map(i32::from_le_bytes)
161 }
162
163 pub fn get_boolean(&self, pos: usize) -> crate::Result<bool> {
164 self.read_byte_at(self.field_offset(pos)).map(|b| b != 0)

Callers 1

get_intMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected