Module nix_compat::nar::reader::read

source ·
Expand description

Helpers for reading crate::nar::wire format.

Functions§

  • Consume a byte string of up to max_len bytes from the reader.
  • Consume a byte string from the reader into a provided buffer, returning the data bytes.
  • Consume a Tag from the reader.
  • Consume a known token from the reader.
  • Consume a little-endian u64 from the reader.