Module transformable::utils

source ·
Expand description

Utilities for encoding and decoding.

Enums§

Functions§

  • Decodes a value from LEB128 variable length format.
  • Encodes an integer value into LEB128 variable length format, and writes it to the buffer.
  • Returns the encoded length of the value in LEB128 variable length format. The returned value will be between 1 and 10, inclusive.