• Converts a buffer to a bigint using little-endian byte order. It accepts 'Buffer' or 'Uint8Array'.

    Parameters

    • value: Uint8Array | Buffer

      The buffer to convert.

    Returns bigint

    The bigint representation of the buffer's contents in little-endian.