Function decodeString

  • Decodes an RSTaggedData object to text. If the data does not contain a UTF-8 string, the function returns null

    Parameters

    • data: RSTaggedData

      message containing a UTF-8 encoded string

    Returns string | null