• Read a Long from a buffer

    Parameters

    • buf: Uint8Array

      Buffer to read from

    • unsigned: boolean = false

      Whether the number should be unsigned

    • le: boolean = true

      Whether the number is little-endian

    Returns Long