mozilla
Your Search Results

    nsEmbedCString

    « XPCOM API Reference

    Summary

    Constructors for nsEmbedCString.

      nsEmbedCString();
    
     explicit  nsEmbedCString(
       const self_type& aString
     );
    

    Parameters

    aString
    [in] A nsEmbedCString to copy into this string.
      nsEmbedCString(
       const abstract_string_type& aAbstractString
     );
    

    Parameters

    aAbstractString
    [in] A nsACString to copy into this string.
     explicit  nsEmbedCString(
       const abstract_string_type& aAbstractString
     );
    

    Parameters

    aAbstractString
    [in] A nsACString to copy into this string.
     explicit  nsEmbedCString(
       const char_type* aData,
       size_type aDataLength = PR_UINT32_MAX
     );
    

    Parameters

    aData
    [in] A raw character array to copy into this string.
    aDataLength
    [in] The length of aData, measured in storage units. If equal to PR_UINT32_MAX, then aData is assumed to be null-terminated. Otherwise, aData need not be null terminated.

    Remarks

    The default constructor sets the string's internal buffer to point to a static empty (zero-length) buffer.

    Document Tags and Contributors

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