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

Method write_short

crates/paimon/src/spec/binary_row.rs:439–442  ·  view source on GitHub ↗
(&mut self, pos: usize, value: i16)

Source from the content-addressed store, hash-verified

437 }
438
439 pub fn write_short(&mut self, pos: usize, value: i16) {
440 let offset = self.field_offset(pos);
441 self.data[offset..offset + 2].copy_from_slice(&value.to_le_bytes());
442 }
443
444 pub fn write_int(&mut self, pos: usize, value: i32) {
445 let offset = self.field_offset(pos);

Callers 3

write_datumMethod · 0.80
write_typed_valueFunction · 0.80

Calls 1

field_offsetMethod · 0.45

Tested by

no test coverage detected