Expand description
This module contains encoding and decoding helpers.
Modules§
- buf
- Utilities for working with buffers.
Structs§
- Alpn
- A version number negotiated during the setup.
- Bounds
Exceeded - Bytes
- A cheaply cloneable and sliceable chunk of contiguous memory.
- Bytes
Mut - A unique reference to a contiguous slice of memory.
- Parameters
- Reader
- Sizer
- Stream
- TryGet
Error - Error type for the
try_get_methods ofBuf. Indicates that there were not enough remaining bytes in the buffer while attempting to get a value from aBufwith one of thetry_get_methods. - VarInt
- An integer less than 2^62
- Version
- A version number negotiated during the setup.
- Versions
- A list of versions in arbitrary order.
- Writer
Enums§
- Decode
Error - A decode error.