Module varint_simd::encode

source ·

Functions

  • encodesse2
    Encodes a single number to a varint. Requires SSE2 support.
  • Encodes a single number to a varint, and writes the resulting data to the slice. Returns the number of bytes written (maximum 10 bytes).
  • Encodes a single number to a varint. Requires SSE2 support.
  • Convenience function for encoding a single signed integer in ZigZag format to a varint. See also: encode