@tgsnake/skema
    Preparing search index...

    Function bufferToBigint

    • Converts a Buffer to a BigInt value.

      Parameters

      • buffer: Buffer

        The buffer to convert.

      • little: boolean = true

        If true, interprets the buffer as little-endian. Defaults to true.

      • signed: boolean = false

        If true, interprets the buffer as a signed integer. Defaults to false.

      Returns bigint

      The BigInt representation of the buffer.