Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

get

« XPCOM API Reference

Summary

The get function returns a const pointer to the string's null-terminated, internal buffer.

 const char_type* get() const;

Example Code

  void GetBar(nsAString &result);

  void Func()
  {
    nsEmbedString str;
    GetBar(str);

    const PRUnichar *data = str.get();
    ...
  }

Document Tags and Contributors

 Contributors to this page: Sheppy, Pmash
 Last updated by: Sheppy,