MCPcopy Create free account
hub / github.com/erans/pgsqlite / remaining

Method remaining

src/protocol/memory_mapped.rs:229–231  ·  view source on GitHub ↗

Get remaining bytes in the reader

(&self)

Source from the content-addressed store, hash-verified

227
228 /// Get remaining bytes in the reader
229 pub fn remaining(&self) -> usize {
230 self.value.len().saturating_sub(self.position)
231 }
232
233 /// Check if the reader has reached the end
234 pub fn is_at_end(&self) -> bool {

Callers 1

poll_readMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected