MCPcopy Create free account
hub / github.com/RustCrypto/utils / remaining

Method remaining

block-buffer/src/read.rs:62–64  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

60 /// Return number of remaining bytes in the internal buffer.
61 #[inline(always)]
62 pub fn remaining(&self) -> usize {
63 self.size() - self.get_pos()
64 }
65
66 /// Set cursor position.
67 ///

Callers 2

fmtMethod · 0.45
read_cachedMethod · 0.45

Calls 2

sizeMethod · 0.45
get_posMethod · 0.45

Tested by

no test coverage detected