404 Not Found


nginx
beegazpacho.com - GrazzMean
Uname: Linux in-mum-web1557.main-hosting.eu 5.14.0-611.42.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 24 05:30:20 EDT 2026 x86_64
Software: LiteSpeed
PHP version: 8.2.30 [ PHP INFO ] PHP os: Linux
Server Ip: 93.127.173.107
Your Ip: 216.73.216.168
User: u848900432 (848900432) | Group: o51372345 (1051372345)
Safe Mode: OFF
Disable Function:
NONE

name : unistr_8h.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ICU 77.1: common/unicode/unistr.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ICU 77.1
   &#160;<span id="projectnumber">77.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_bdd9a5d540de89e9fe90efdfc6973a4f.html">common</a></li><li class="navelem"><a class="el" href="dir_f59c6450ff718ff1b085cfd1c36acbd7.html">unicode</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">unistr.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>C++ API: Unicode String.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="utypes_8h_source.html">unicode/utypes.h</a>&quot;</code><br />
<code>#include &lt;cstddef&gt;</code><br />
<code>#include &lt;string_view&gt;</code><br />
<code>#include &quot;<a class="el" href="char16ptr_8h_source.html">unicode/char16ptr.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="rep_8h_source.html">unicode/rep.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="std__string_8h_source.html">unicode/std_string.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="stringpiece_8h_source.html">unicode/stringpiece.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="bytestream_8h_source.html">unicode/bytestream.h</a>&quot;</code><br />
</div>
<p><a href="unistr_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1UnicodeString.html">icu::UnicodeString</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> is a string class that stores Unicode characters directly and provides similar functionality as the Java String and StringBuffer/StringBuilder classes.  <a href="classicu_1_1UnicodeString.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceicu"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceicu.html">icu</a></td></tr>
<tr class="memdesc:namespaceicu"><td class="mdescLeft">&#160;</td><td class="mdescRight">File <a class="el" href="coll_8h.html" title="C++ API: Collation Service.">coll.h</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a308c066384b8560030fb3482bcb13381"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unistr_8h.html#a308c066384b8560030fb3482bcb13381">US_INV</a>&#160;&#160;&#160;<a class="el" href="classicu_1_1UnicodeString.html#a301902493406de453a439dfadfdd032fa050455dd0665a3c65d041ae02565f74b">icu::UnicodeString::kInvariant</a></td></tr>
<tr class="memdesc:a308c066384b8560030fb3482bcb13381"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constant to be used in the UnicodeString(char *, int32_t, EInvariant) constructor which constructs a Unicode string from an invariant-character char * string.  <a href="unistr_8h.html#a308c066384b8560030fb3482bcb13381">More...</a><br /></td></tr>
<tr class="separator:a308c066384b8560030fb3482bcb13381"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeab1ff09f666cf5fce35fc88cf37d714"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unistr_8h.html#aeab1ff09f666cf5fce35fc88cf37d714">UNICODE_STRING</a>(cs,  _length)&#160;&#160;&#160;<a class="el" href="classicu_1_1UnicodeString.html">icu::UnicodeString</a>(true, u ## cs, _length)</td></tr>
<tr class="memdesc:aeab1ff09f666cf5fce35fc88cf37d714"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obsolete macro approximating UnicodeString literals.  <a href="unistr_8h.html#aeab1ff09f666cf5fce35fc88cf37d714">More...</a><br /></td></tr>
<tr class="separator:aeab1ff09f666cf5fce35fc88cf37d714"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cd56429cbf4fe567a97c9d1a46e96ae"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unistr_8h.html#a6cd56429cbf4fe567a97c9d1a46e96ae">UNICODE_STRING_SIMPLE</a>(cs)&#160;&#160;&#160;<a class="el" href="unistr_8h.html#aeab1ff09f666cf5fce35fc88cf37d714">UNICODE_STRING</a>(cs, -1)</td></tr>
<tr class="memdesc:a6cd56429cbf4fe567a97c9d1a46e96ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unicode String literals in C++.  <a href="unistr_8h.html#a6cd56429cbf4fe567a97c9d1a46e96ae">More...</a><br /></td></tr>
<tr class="separator:a6cd56429cbf4fe567a97c9d1a46e96ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a486b34c4465b862509e8ed28f01fbe49"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unistr_8h.html#a486b34c4465b862509e8ed28f01fbe49">UNISTR_FROM_CHAR_EXPLICIT</a></td></tr>
<tr class="memdesc:a486b34c4465b862509e8ed28f01fbe49"><td class="mdescLeft">&#160;</td><td class="mdescRight">This can be defined to be empty or "explicit".  <a href="unistr_8h.html#a486b34c4465b862509e8ed28f01fbe49">More...</a><br /></td></tr>
<tr class="separator:a486b34c4465b862509e8ed28f01fbe49"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4830e8bd24a0774bedb97358e733c1f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unistr_8h.html#ac4830e8bd24a0774bedb97358e733c1f">UNISTR_FROM_STRING_EXPLICIT</a></td></tr>
<tr class="memdesc:ac4830e8bd24a0774bedb97358e733c1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This can be defined to be empty or "explicit".  <a href="unistr_8h.html#ac4830e8bd24a0774bedb97358e733c1f">More...</a><br /></td></tr>
<tr class="separator:ac4830e8bd24a0774bedb97358e733c1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7130a84a4e48a45005b55a047fc3506"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unistr_8h.html#ae7130a84a4e48a45005b55a047fc3506">UNISTR_OBJECT_SIZE</a>&#160;&#160;&#160;64</td></tr>
<tr class="memdesc:ae7130a84a4e48a45005b55a047fc3506"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desired sizeof(UnicodeString) in bytes.  <a href="unistr_8h.html#ae7130a84a4e48a45005b55a047fc3506">More...</a><br /></td></tr>
<tr class="separator:ae7130a84a4e48a45005b55a047fc3506"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a82006d2363fecf8771aa624a7a3498f1"><td class="memItemLeft" align="right" valign="top">typedef int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unistr_8h.html#a82006d2363fecf8771aa624a7a3498f1">UStringCaseMapper</a>(int32_t caseLocale, uint32_t options, <a class="el" href="classicu_1_1BreakIterator.html">icu::BreakIterator</a> *iter, char16_t *dest, int32_t destCapacity, const char16_t *src, int32_t srcLength, <a class="el" href="classicu_1_1Edits.html">icu::Edits</a> *edits, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode)</td></tr>
<tr class="memdesc:a82006d2363fecf8771aa624a7a3498f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal string case mapping function type.  <a href="unistr_8h.html#a82006d2363fecf8771aa624a7a3498f1">More...</a><br /></td></tr>
<tr class="separator:a82006d2363fecf8771aa624a7a3498f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga43199ed47f7c008e6baceccb5f66914a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df">U_CAPI</a> int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__ustring__ustrlen.html#ga43199ed47f7c008e6baceccb5f66914a">u_strlen</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *s)</td></tr>
<tr class="separator:ga43199ed47f7c008e6baceccb5f66914a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba07a6dabd3ae5f5ee729f556a9cb960"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#a559955ec3bc692657c5d8b1c6de8e334">U_COMMON_API</a> UnicodeString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceicu.html#aba07a6dabd3ae5f5ee729f556a9cb960">icu::operator+</a> (const UnicodeString &amp;s1, const UnicodeString &amp;s2)</td></tr>
<tr class="memdesc:aba07a6dabd3ae5f5ee729f556a9cb960"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> from the concatenation of two others.  <a href="namespaceicu.html#aba07a6dabd3ae5f5ee729f556a9cb960">More...</a><br /></td></tr>
<tr class="separator:aba07a6dabd3ae5f5ee729f556a9cb960"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0415b6d64978e4bb1d6af50cfeb6473"><td class="memTemplParams" colspan="2">template&lt;typename S , typename  = std::enable_if_t&lt;ConvertibleToU16StringView&lt;S&gt;&gt;&gt; </td></tr>
<tr class="memitem:ab0415b6d64978e4bb1d6af50cfeb6473"><td class="memTemplItemLeft" align="right" valign="top">UnicodeString&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceicu.html#ab0415b6d64978e4bb1d6af50cfeb6473">icu::operator+</a> (const UnicodeString &amp;s1, const S &amp;s2)</td></tr>
<tr class="memdesc:ab0415b6d64978e4bb1d6af50cfeb6473"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> from the concatenation of a <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> and <code>s2</code> which is, or which is implicitly convertible to, a std::u16string_view or (if U_SIZEOF_WCHAR_T==2) std::wstring_view.  <a href="namespaceicu.html#ab0415b6d64978e4bb1d6af50cfeb6473">More...</a><br /></td></tr>
<tr class="separator:ab0415b6d64978e4bb1d6af50cfeb6473"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20a9acddd623816474bf8fa9feeba9b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#a559955ec3bc692657c5d8b1c6de8e334">U_COMMON_API</a> UnicodeString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceicu.html#a20a9acddd623816474bf8fa9feeba9b1">icu::unistr_internalConcat</a> (const UnicodeString &amp;s1, std::u16string_view s2)</td></tr>
<tr class="separator:a20a9acddd623816474bf8fa9feeba9b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>C++ API: Unicode String. </p>

<p class="definition">Definition in file <a class="el" href="unistr_8h_source.html">unistr.h</a>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a id="aeab1ff09f666cf5fce35fc88cf37d714"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeab1ff09f666cf5fce35fc88cf37d714">&#9670;&nbsp;</a></span>UNICODE_STRING</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UNICODE_STRING</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cs, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">_length&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="classicu_1_1UnicodeString.html">icu::UnicodeString</a>(true, u ## cs, _length)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Obsolete macro approximating UnicodeString literals. </p>
<p>Prior to the availability of C++11 and u"UTF-16 string literals", this macro was provided for portability and efficiency when initializing UnicodeStrings from literals.</p>
<p>Since C++17 and ICU 76, you can use UTF-16 string literals with compile-time length determination: </p><div class="fragment"><div class="line">UnicodeString str(u<span class="stringliteral">&quot;literal&quot;</span>);</div>
<div class="line"><span class="keywordflow">if</span> (str == u<span class="stringliteral">&quot;other literal&quot;</span>) { ... }</div>
</div><!-- fragment --><p>The string parameter must be a C string literal. The length of the string, not including the terminating <code>NUL</code>, must be specified as a constant. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable002568">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p class="definition">Definition at line <a class="el" href="unistr_8h_source.html#l00121">121</a> of file <a class="el" href="unistr_8h_source.html">unistr.h</a>.</p>

</div>
</div>
<a id="a6cd56429cbf4fe567a97c9d1a46e96ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cd56429cbf4fe567a97c9d1a46e96ae">&#9670;&nbsp;</a></span>UNICODE_STRING_SIMPLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UNICODE_STRING_SIMPLE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">cs</td><td>)</td>
          <td>&#160;&#160;&#160;<a class="el" href="unistr_8h.html#aeab1ff09f666cf5fce35fc88cf37d714">UNICODE_STRING</a>(cs, -1)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unicode String literals in C++. </p>
<p>Obsolete macro approximating UnicodeString literals. See UNICODE_STRING.</p>
<p>The string parameter must be a C string literal. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable002569">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="unistr_8h.html#aeab1ff09f666cf5fce35fc88cf37d714" title="Obsolete macro approximating UnicodeString literals.">UNICODE_STRING</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="unistr_8h_source.html#l00135">135</a> of file <a class="el" href="unistr_8h_source.html">unistr.h</a>.</p>

</div>
</div>
<a id="a486b34c4465b862509e8ed28f01fbe49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a486b34c4465b862509e8ed28f01fbe49">&#9670;&nbsp;</a></span>UNISTR_FROM_CHAR_EXPLICIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UNISTR_FROM_CHAR_EXPLICIT</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This can be defined to be empty or "explicit". </p>
<p>If explicit, then the UnicodeString(char16_t) and UnicodeString(UChar32) constructors are marked as explicit, preventing their inadvertent use. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable002570">Stable:</a></b></dt><dd>ICU 49 </dd></dl>

<p class="definition">Definition at line <a class="el" href="unistr_8h_source.html#l00150">150</a> of file <a class="el" href="unistr_8h_source.html">unistr.h</a>.</p>

</div>
</div>
<a id="ac4830e8bd24a0774bedb97358e733c1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4830e8bd24a0774bedb97358e733c1f">&#9670;&nbsp;</a></span>UNISTR_FROM_STRING_EXPLICIT</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UNISTR_FROM_STRING_EXPLICIT</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This can be defined to be empty or "explicit". </p>
<p>If explicit, then the UnicodeString(const char *) and UnicodeString(const char16_t *) constructors are marked as explicit, preventing their inadvertent use.</p>
<p>In particular, this helps prevent accidentally depending on ICU conversion code by passing a string literal into an API with a const UnicodeString &amp; parameter. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable002571">Stable:</a></b></dt><dd>ICU 49 </dd></dl>

<p class="definition">Definition at line <a class="el" href="unistr_8h_source.html#l00170">170</a> of file <a class="el" href="unistr_8h_source.html">unistr.h</a>.</p>

</div>
</div>
<a id="ae7130a84a4e48a45005b55a047fc3506"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7130a84a4e48a45005b55a047fc3506">&#9670;&nbsp;</a></span>UNISTR_OBJECT_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UNISTR_OBJECT_SIZE&#160;&#160;&#160;64</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Desired sizeof(UnicodeString) in bytes. </p>
<p>It should be a multiple of sizeof(pointer) to avoid unusable space for padding. The object size may want to be a multiple of 16 bytes, which is a common granularity for heap allocation.</p>
<p>Any space inside the object beyond sizeof(vtable pointer) + 2 is available for storing short strings inside the object. The bigger the object, the longer a string that can be stored inside the object, without additional heap allocation.</p>
<p>Depending on a platform's pointer size, pointer alignment requirements, and struct padding, the compiler will usually round up sizeof(UnicodeString) to 4 * sizeof(pointer) (or 3 * sizeof(pointer) for P128 data models), to hold the fields for heap-allocated strings. Such a minimum size also ensures that the object is easily large enough to hold at least 2 char16_ts, for one supplementary code point (U16_MAX_LENGTH).</p>
<p>sizeof(UnicodeString) &gt;= 48 should work for all known platforms.</p>
<p>For example, on a 64-bit machine where sizeof(vtable pointer) is 8, sizeof(UnicodeString) = 64 would leave space for (64 - sizeof(vtable pointer) - 2) / U_SIZEOF_UCHAR = (64 - 8 - 2) / 2 = 27 char16_ts stored inside the object.</p>
<p>The minimum object size on a 64-bit machine would be 4 * sizeof(pointer) = 4 * 8 = 32 bytes, and the internal buffer would hold up to 11 char16_ts in that case.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="utf16_8h.html#ab14454ab71a81f0cf86e523e50690eee" title="The maximum number of 16-bit code units per Unicode code point (U+0000..U+10ffff).">U16_MAX_LENGTH</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002572">Stable:</a></b></dt><dd>ICU 56 </dd></dl>

<p class="definition">Definition at line <a class="el" href="unistr_8h_source.html#l00208">208</a> of file <a class="el" href="unistr_8h_source.html">unistr.h</a>.</p>

</div>
</div>
<a id="a308c066384b8560030fb3482bcb13381"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a308c066384b8560030fb3482bcb13381">&#9670;&nbsp;</a></span>US_INV</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define US_INV&#160;&#160;&#160;<a class="el" href="classicu_1_1UnicodeString.html#a301902493406de453a439dfadfdd032fa050455dd0665a3c65d041ae02565f74b">icu::UnicodeString::kInvariant</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constant to be used in the UnicodeString(char *, int32_t, EInvariant) constructor which constructs a Unicode string from an invariant-character char * string. </p>
<p>About invariant characters see <a class="el" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">utypes.h</a>. This constructor has no runtime dependency on conversion code and is therefore recommended over ones taking a charset name string (where the empty string "" indicates invariant-character conversion).</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002567">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

<p class="definition">Definition at line <a class="el" href="unistr_8h_source.html#l00098">98</a> of file <a class="el" href="unistr_8h_source.html">unistr.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="a82006d2363fecf8771aa624a7a3498f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82006d2363fecf8771aa624a7a3498f1">&#9670;&nbsp;</a></span>UStringCaseMapper</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef int32_t UStringCaseMapper(int32_t caseLocale, uint32_t options, <a class="el" href="classicu_1_1BreakIterator.html">icu::BreakIterator</a> *iter, char16_t *dest, int32_t destCapacity, const char16_t *src, int32_t srcLength, <a class="el" href="classicu_1_1Edits.html">icu::Edits</a> *edits, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;errorCode)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Internal string case mapping function type. </p>
<p>All error checking must be done. src and dest must not overlap. </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000161">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p class="definition">Definition at line <a class="el" href="unistr_8h_source.html#l00071">71</a> of file <a class="el" href="unistr_8h_source.html">unistr.h</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
© 2026 GrazzMean
Beegazpacho


Let’s  Start  Your  Online  Journey  with  Beegazpacho 

Welcome to Beegazpacho,
where creativity meets strategy,
and innovation drives success.


Contact
Now


OUR CLIENTS

WhatsApp-Image-2021-12-06.png
Untitled-design-11.png
niaf-logo.png
20220406-163308-scaled.jpg
karchi-logo.png
20220405-171252.png
20220405-171309.png
20220321-161603.png
20220321-161611.png
20220321-161628.png
20220321-161244.png
20220321-161256.png
20220321-161450.png
20220321-161205.png
20220226-170222.png
20220321-161051.png
20211202-170852.png
Untitled-design-9
pidilite-png-logo-colour
logo-black-e1706125740216-qisosldqhzgcaerhdt6n4t3m4s50jr0iik48z0h5vk
Fraikin-Dayim-logo-1
hpcl-logo-2-1
services

Transforming Ideas into
Success

.01
Digital Marketing

We drive growth through data-driven strategies and cutting-edge techniques.

Learn More

.02
SEO

Improve your online visibility and rank higher on search engines with our expert SEO services.

Learn More

.03
Website Designing

We design websites that are not only visually stunning but also user-centric, ensuring seamless navigation and enhanced user experience.

Learn More

.04
App Development

Our apps are crafted to be intuitive, engaging, and functional, providing your users with an exceptional mobile experience.

Learn More

.05
Social Media Ads

Target the right audience with precision and creativity to maximize engagement and conversions.

Learn More

.06
Google Ads

Maximize ROI with precision-targeted campaigns on Google’s powerful ad platform.

Learn More

.07
Google My Business

Optimize your local presence with strategies that put your business on the map and attract more customers.

Learn More

.08
Graphic Designing

Our designs tell your brand’s story in a visually compelling way.

Learn More

.09
3D Videos

Bring your product to life with immersive and dynamic 3D explainer videos.

Learn More

about BEEGAZPACHO

creating special Things
For special brands

Join the ranks of successful brands by partnering with Beegazpacho

00+

Happy Customer

00+

Continents

Our vision is not just to be a service provider but to be your partner in growth. We see ourselves as an extension of your team, working tirelessly to ensure that your brand not only meets its goals but surpasses them.

Explore
more

Our Recent Work

Crafted with Passion and Precision

Connect now


Web Design
Design, Development & Identity

Logo Design
Design, Development & Identity

Creative Brand design
Design, Development & Identity

Product Design Marketing
Design, Development & Identity

DIGITAL MARKETING
SEO
WEBSITE DESIGNING
APP DEVELOPMENT
SOCIAL MEDIA ADS
GOOGLE ADS
GOOGLE MY BUSINESS
GRAPHIC DESINING
3D VIDEOS
Client Stories

Hear It from Those Who Know Us Best

Our clients’ success stories speak volumes about our commitment to excellence. Don’t just take our word for it—hear directly from the brands we’ve partnered with. Their testimonials highlight our ability to bring visions to life and create a lasting impact on their businesses.

“Beegazpacho feels like an extension of our team. Their content marketing and social media expertise have elevated our brand. They listen, adapt, and always deliver on time. We look forward to continuing this partnership.”

— Sarah Williams

Head of Marketing, GreenPlanet Apparel

“Beegazpacho’s data-driven strategies helped us improve our online ads, optimize our website, and enhance branding. We’ve seen great ROI and increased visibility. Their professionalism is unmatched.”

— Arvind Shah

CEO, InnovateTech Solutions

“Partnering with Beegazpacho has been a game-changer for our brand. Their creative ad campaigns and SEO services have boosted our online presence and significantly increased leads and sales. We couldn’t ask for a better partner!”

— Rina Kapoor

Marketing Director, Luxury Home Interiors

“Beegazpacho feels like an extension of our team. Their content marketing and social media expertise have elevated our brand. They listen, adapt, and always deliver on time. We look forward to continuing this partnership.”

— Sarah Williams

Head of Marketing, GreenPlanet Apparel

“Beegazpacho’s data-driven strategies helped us improve our online ads, optimize our website, and enhance branding. We’ve seen great ROI and increased visibility. Their professionalism is unmatched.”

— Arvind Shah

CEO, InnovateTech Solutions

“Partnering with Beegazpacho has been a game-changer for our brand. Their creative ad campaigns and SEO services have boosted our online presence and significantly increased leads and sales. We couldn’t ask for a better partner!”

— Rina Kapoor

Marketing Director, Luxury Home Interiors