pub trait InputBlock<'i, const N: usize>: Deref<Target = [u8]> {
    // Required method
    fn halves(&self) -> (&[u8], &[u8]);
}
Expand description

A block of bytes of size N returned from InputBlockIterator.

Required Methods§

source

fn halves(&self) -> (&[u8], &[u8])

Split the block in half, giving two slices of size N/2.

Implementations on Foreign Types§

source§

impl<'i, const N: usize> InputBlock<'i, N> for &'i [u8]

source§

fn halves(&self) -> (&[u8], &[u8])

Implementors§

source§

impl<'a, const N: usize> InputBlock<'a, N> for BufferedInputBlock<N>