UMIS SDK
    Preparing search index...

    Function varintDecode

    • Reads one varint at offset. More than three bytes, a truncated input or a non-minimal encoding (a last byte of zero after a continuation byte, such as 80 00 for 0) is MALFORMED, so every value has exactly one encoding.

      Parameters

      • b: Uint8Array
      • offset: number

      Returns { next: number; value: number }