• Reads bytes from array starting at offset as big-endian unsigned bitLen-bit integer and returns it.

    Supports bit lengths divisible by 8, up to 48.

    Parameters

    • bitLength: number
    • array: Uint8Array
    • offset: number = 0

    Returns number