Crate cobs

source ·

Structs

Functions

  • Decodes the source buffer into the dest buffer.
  • Decodes a message in-place.
  • Decodes a message in-place using an arbitrary sentinel value.
  • Decodes the source buffer into a vector.
  • Decodes the source buffer into a vector with an arbitrary sentinel value.
  • Decodes the source buffer into the dest buffer using an arbitrary sentinel value.
  • Encodes the source buffer into the dest buffer.
  • Encodes the source buffer into a vector.
  • Encodes the source buffer into a vector with an arbitrary sentinel value.
  • Encodes the source buffer into the dest buffer using an arbitrary sentinel value.
  • Calculates the maximum possible size of an encoded message given the length of the source message. This may be useful for calculating how large the dest buffer needs to be in the encoding functions.