Function nix_compat::nar::reader::async::read::token

source ·
pub async fn token<const N: usize>(
    reader: &mut Reader<'_>,
    token: &[u8; N]
) -> Result<()>
Expand description

Consume a known token from the reader.