Module nix_compat::wire::bytes::writer

source ·

Structs§

Enums§

  • Models the position inside a “bytes wire packet” that the writer is in. It can be in three different stages, inside size, payload or padding fields. The number tracks the number of bytes written inside the specific field. There shall be no ambiguous states, at the end of a stage we immediately move to the beginning of the next one:

Functions§