nix_compat
0.1.0
Module read
Functions
In nix_compat::nar::reader
Module
nix_compat
::
nar
::
reader
::
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.