Function cipher::stream_core::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.