nix_
compat
0.1.0
Module read
Module Items
Functions
In nix_
compat::
nar::
reader
nix_compat
::
nar
::
reader
Module
read
Copy item path
Source
Expand description
Helpers for reading
crate::nar::wire
format.
Functions
ยง
bytes
Consume a byte string of up to
max_len
bytes from the reader.
bytes_
buf
Consume a byte string from the reader into a provided buffer, returning the data bytes.
tag
Consume a
Tag
from the reader.
token
Consume a known token from the reader.
u64
Consume a little-endian
u64
from the reader.