Function bytesToString

  • Converts a StaticArray containing UTF-8 encoded data to a UTF-16 string (AssemblyScript's default).

    Parameters

    • arr: StaticArray<number>

      the array to convert

    Returns string

    A UTF-16 string representation of the input array.

    Remarks

    If the array is empty, returns an empty string.

Generated using TypeDoc