snix/tvix/nix-compat/src/wire/bytes
edef 6e41e0917e feat(nix-compat/wire/bytes/reader): split out reading the trailer block
We separate ingesting the trailer block into a Future of its own,
parametrised on the specifics of the trailer pattern.

This is intended to be used for future work on an async NAR reader,
which needs to read a terminating parenthesis as well as the regular
padding.

Thanks to @griff for suggesting separating the ingestion into its own
Future.

Change-Id: I36c2503baa67937046a63e9bf0cfc38201394025
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11522
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-04-26 08:22:58 +00:00
..
reader feat(nix-compat/wire/bytes/reader): split out reading the trailer block 2024-04-26 08:22:58 +00:00
mod.rs refactor(nix-compat/wire): move BytesPacketPosition into writer 2024-04-25 23:47:49 +00:00
writer.rs refactor(nix-compat/wire): move BytesPacketPosition into writer 2024-04-25 23:47:49 +00:00