Module framed_read

Source

Structs§

NixFramedReader
Implements Nix’s Framed reader protocol for protocol versions >= 1.23.

Enums§

State 🔒
State machine for NixFramedReader.

Functions§

with_limited 🔒
Make a limited version of buf, consisting only of up to n bytes of the unfilled section, and call f with it. After f returns, we propagate the filled cursor advancement back to buf.