snix/tvix/nix-compat/src
Florian Klink f3d8c633f2 feat(tvix/nix-compat/wire): introduce BytesWriter
This deals with writing byte packets of larger sizes to an underlying
AsyncWrite.

Its constructor receives the expected size. It also deals with writing
padding if flush/shutdown is called after writing all the payload.

Change-Id: I8acbf992467f3862ffb8c7d669e8c0c8eced14c1
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11355
Reviewed-by: picnoir picnoir <picnoir@alternativebit.fr>
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Brian Olsen <me@griff.name>
Tested-by: BuildkiteCI
2024-04-06 14:12:05 +00:00
..
aterm docs(nix-compat/aterm/parser): fix docstring 2023-12-21 16:43:44 +00:00
bin docs(nix-compat/drvfmt): fix reference 2023-12-21 16:39:07 +00:00
derivation refactor(nix-compat/derivation): emphasize aterm_bytes 2024-03-14 23:10:54 +00:00
nar chore(3p/sources): Bump channels & overlays 2024-01-19 21:47:32 +00:00
narinfo docs(nix-compat/narinfo): fix reference 2023-12-21 16:36:34 +00:00
nixhash fix(nix-compat/nixhash): fix SRI string parsing with superfluous suffix 2024-03-23 14:37:55 +00:00
store_path feat(tvix/nix-compat/store_path): derive Hash for StorePathRef 2024-03-27 12:36:37 +00:00
wire feat(tvix/nix-compat/wire): introduce BytesWriter 2024-04-06 14:12:05 +00:00
lib.rs feat(tvix/nix-compat): introduce magic hello/response 2024-03-19 16:51:12 +00:00
nixbase32.rs refactor(nix-compat/nixbase32): address clippy 2023-12-09 12:58:39 +00:00