Class VarintAbstract

Constructors

Methods

Constructors

Methods

  • Decodes a varint from a buffer

    Parameters

    • buffer: Buffer

    Returns BigInteger

  • Encodes a value into a varint encoded buffer

    Parameters

    • value: number | BigInteger

    Returns Buffer