MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / position

Method position

src/ore/src/bytes.rs:322–324  ·  view source on GitHub ↗

The current position of the internal cursor for this [`SegmentedReader`]. Note: It's possible for the current position to be greater than the length, as [`std::io::Seek`] allows you to seek past the end of the stream.

(&self)

Source from the content-addressed store, hash-verified

320 /// Note: It's possible for the current position to be greater than the length,
321 /// as [`std::io::Seek`] allows you to seek past the end of the stream.
322 pub fn position(&self) -> usize {
323 self.overall_ptr
324 }
325 }
326
327 impl<const N: usize> io::Read for SegmentedReader<N> {

Callers 15

buildMethod · 0.45
read_cstrMethod · 0.45
applied_toMethod · 0.45
plan_copy_itemFunction · 0.45
plan_select_from_whereFunction · 0.45
plan_group_by_exprFunction · 0.45
plan_field_accessFunction · 0.45
plan_subscript_listFunction · 0.45
plan_create_tableFunction · 0.45
plan_source_export_descFunction · 0.45
decodeMethod · 0.45

Calls

no outgoing calls

Tested by 1