Skip to main content

Module conv

Module conv 

Source
Expand description

Conversions shared by the per-draft glue below. Unused when no draft feature is enabled.

Functionsยง

skip
Advance buf past len bytes without copying them.
status_to_write
The status code to encode for object, or None when a payload follows instead. An empty payload always carries a status on the wire, so a missing one defaults to Normal.
take
Copy len bytes out of buf.
varint
Wrap a value that must fit the varint range.