Function fromBytes

  • Converts a StaticArray to number

    Type Parameters

    • T

      the type of the number result (it must be an integer type, such as i32, u32, i64, or u64)

    Parameters

    • arr: StaticArray<number>

      the array to convert

    Returns T

    the converted number

    Remarks

    Won't compile if the type param is not an integer.

    See

    isInteger

Generated using TypeDoc