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

Method invariant

block-buffer/src/sealed.rs:61–63  ·  view source on GitHub ↗
(pos: usize, block_size: usize)

Source from the content-addressed store, hash-verified

59
60 #[inline(always)]
61 fn invariant(pos: usize, block_size: usize) -> bool {
62 pos < block_size
63 }
64
65 #[inline(always)]
66 fn split_blocks<N: ArraySize>(data: &[u8]) -> (&[Array<u8, N>], &[u8]) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected