diff options
author | Florian Klink <flokli@flokli.de> | 2024-04-04T16·03+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-04-06T14·12+0000 |
commit | f3d8c633f2b4c44a6911d751a2efd93ef926a8bf (patch) | |
tree | a00891ab1c9699baeb9848065634bcd00dcb7f5d /users/qyliss | |
parent | 39276dc5b41fa5e756ebb8ae30b4d2ac91995be7 (diff) |
feat(tvix/nix-compat/wire): introduce BytesWriter r/7857
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
Diffstat (limited to 'users/qyliss')
0 files changed, 0 insertions, 0 deletions