Function toBytesString

  • Serializes a string into a byte array.

    Returns

    A Uint8Array representation of the string, including its length as a u32 prefix.

    Parameters

    • str: string

      The string to be converted.

    Returns Uint8Array

Generated using TypeDoc