[#BloombergLP-bdlde-Utf8Util-numCodePointsRaw-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Utf8Util.adoc[Utf8Util]::numCodePointsRaw
:relfileprefix: ../../../
:mrdocs:

`numCodePointsRaw` overloads

== Synopses

Declared in `&lt;bdlde&lowbar;utf8util&period;h&gt;`

Return the number of Unicode code points in the specified `string`&period; `string` need not be null&hyphen;terminated and can contain embedded null bytes&period; The behavior is undefined unless `string` contains valid UTF&hyphen;8&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlde/Utf8Util/IntPtr.adoc[Utf8Util::IntPtr]
xref:BloombergLP/bdlde/Utf8Util/numCodePointsRaw-03.adoc[numCodePointsRaw](std::string&lowbar;view const& string);
----

[.small]#xref:BloombergLP/bdlde/Utf8Util/numCodePointsRaw-03.adoc[_» more&period;&period;&period;_]#

Return the number of Unicode code points in the specified `string`&period; `string` is necessarily null&hyphen;terminated, so it cannot contain embedded null bytes&period; The behavior is undefined unless `string` contains valid UTF&hyphen;8&period; Note that `string` may contain less than `bsl&colon;&colon;strlen(string)` Unicode code points&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlde/Utf8Util/IntPtr.adoc[IntPtr]
xref:BloombergLP/bdlde/Utf8Util/numCodePointsRaw-07.adoc[numCodePointsRaw](char const* string);
----

[.small]#xref:BloombergLP/bdlde/Utf8Util/numCodePointsRaw-07.adoc[_» more&period;&period;&period;_]#

Return the number of Unicode code points in the specified `string` having the specified `length` (in bytes)&period; `string` need not be null&hyphen;terminated and can contain embedded null bytes, and `string` may be null if `0 &equals;&equals; length` (see &lcub;Empty Input Strings&rcub;)&period; The behavior is undefined unless `string` contains valid UTF&hyphen;8&period; Note that `string` may contain less than `length` Unicode code points&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlde/Utf8Util/IntPtr.adoc[IntPtr]
xref:BloombergLP/bdlde/Utf8Util/numCodePointsRaw-00.adoc[numCodePointsRaw](
    char const* string,
    xref:BloombergLP/bdlde/Utf8Util/size_type.adoc[size&lowbar;type] length);
----

[.small]#xref:BloombergLP/bdlde/Utf8Util/numCodePointsRaw-00.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
