Crate octets

source ·


An error indicating that the provided OctetsMut is not big enough.
A zero-copy immutable byte buffer.
A zero-copy mutable byte buffer.


Returns how many bytes it would take to encode v as a variable-length integer.
Returns how long the variable-length integer is, given its first byte.

Type Definitions

A specialized Result type for OctetsMut operations.