Function byteToU8

  • Converts a StaticArray into a u8.

    Parameters

    • arr: StaticArray<number>

      the array to convert

    Returns u8

    the converted u8

    Remarks

    This is done by returning the value at index 0 of the passed StaticArray.

Generated using TypeDoc