Function u8toByte

  • Converts a u8 in a StaticArray.

    Parameters

    • val: number

      the number to convert

    Returns StaticArray<u8>

    the converted StaticArray

    Remarks

    This function creates a new StaticArray of size 1, and sets the first element to the passed u8 value.

Generated using TypeDoc