about summary refs log tree commit diff
path: root/tvix/nix-compat/src/wire/worker_protocol.rs
diff options
context:
space:
mode:
authorPicnoir <picnoir@alternativebit.fr>2024-03-21T15·09+0100
committerpicnoir picnoir <picnoir@alternativebit.fr>2024-04-03T11·25+0000
commit017ff431fe0b3c860e4ddb45e54bbd8b3b2b459d (patch)
treee40ee35e29e5accd1fa6b3cd7d8e72d0931ca0e5 /tvix/nix-compat/src/wire/worker_protocol.rs
parentf7cdbbef452b0e1901be4e66567bfef8e5d5809d (diff)
feat(tvix/nix-compat): introduce write_bytes r/7843
Write counterpart of read_bytes. Despite its name, we mostly use it to
write strings (as in ascii strings) to the wire.

We also extract the padding calculation in its own function.

Change-Id: I8d936e989961107261b3089e4275acbd2c093a7f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11230
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nix-compat/src/wire/worker_protocol.rs')
0 files changed, 0 insertions, 0 deletions