about summary refs log tree commit diff
path: root/tvix/nix-compat/src/wire/bytes.rs (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-03-15 r/7697 feat(nix-compat/wire): add read_bytes[_unchecked]Florian Klink1-0/+130
This introduces a version reading sized byte packets. Both read_bytes, accepting a range of allowed sizes, as well as read_bytes_unchecked, which doesn't care, are added, including tests. Co-Authored-By: picnoir <picnoir@alternativebit.fr> Change-Id: I9fc1c61eb561105e649eecca832af28badfdaaa8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11150 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: picnoir picnoir <picnoir@alternativebit.fr> Tested-by: BuildkiteCI