Expand description
Conversions shared by the per-draft glue below. Unused when no draft feature is enabled.
Re-exportsยง
use super::AnySubgroupObject;๐use super::Buf;๐use super::CodecError;๐use crate::varint::VarInt;๐
Functionsยง
- skip
- Advance
bufpastlenbytes without copying them. - status_
to_ write - The status code to encode for
object, orNonewhen a payload follows instead. An empty payload always carries a status on the wire, so a missing one defaults to Normal. - take
- Copy
lenbytes out ofbuf. - varint
- Wrap a value that must fit the varint range.