//! Carving caller-owned scratch into named buffers, so heap-free code can take its
//! working memory from one slice.
/// Splits the first `len` values off `buffer` and leaves the rest in it.
///
/// # Panics
///
/// Panics if `buffer` holds fewer than `len` values.
pub