cipher::stream_core

Function into_chunks

Source
fn into_chunks<T, N: ArrayLength<T>>(
    buf: &mut [T],
) -> (&mut [GenericArray<T, N>], &mut [T])
Expand description

Partition buffer into 2 parts: buffer of arrays and tail.

In case if N is less or equal to 1, buffer of arrays has length of zero and tail is equal to self.