Module mesh_protobuf::buffer

source ·
Expand description

Types to support writing to a contiguous byte buffer.

This is different from bytes::BufMut in that the buffer is required to be contiguous, which allows for more efficient use with type erasure.

Structs§

  • An accessor for writing to a partially-initialized byte buffer.

Traits§

  • Models a partially written, contiguous byte buffer.

Functions§

  • Calls f with a Buf, which provides safe methods for extending the initialized portion of the buffer.