Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ remaining
Method
remaining
block-buffer/src/lib.rs:279–281 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
277
/// Return number of remaining bytes in the internal buffer.
278
#[inline(always)]
279
pub fn remaining(&self) -> usize {
280
self.size() - self.get_pos()
281
}
282
283
/// Set buffer position.
284
///
Callers
nothing calls this directly
Calls
2
size
Method · 0.45
get_pos
Method · 0.45
Tested by
no test coverage detected