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

Method remaining

src/ore/src/bytes.rs:141–143  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

139
140impl<const N: usize> Buf for SegmentedBytes<N> {
141 fn remaining(&self) -> usize {
142 self.len()
143 }
144
145 fn chunk(&self) -> &[u8] {
146 // Return the first non-empty segment.

Callers 3

into_contiguousMethod · 0.45
advanceMethod · 0.45
get_bytesMethod · 0.45

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected