[#BloombergLP-baljsn-EncoderTestChoiceWithAllCategories-charArray-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/EncoderTestChoiceWithAllCategories.adoc[EncoderTestChoiceWithAllCategories]::charArray
:relfileprefix: ../../../
:mrdocs:

Return a non&hyphen;modifiable reference to the &quot;CharArray&quot; selection&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;encoder&lowbar;testtypes&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/vector-00d.adoc[bsl::vector&lt;char&gt;] const&
charArray() const;
----

== Description

Return a reference to the non&hyphen;modifiable &quot;CharArray&quot; selection of this object if &quot;CharArray&quot; is the current selection&period; The behavior is undefined unless &quot;CharArray&quot; is the selection of this object&period;

== Return Value

non&hyphen;modifiable reference to the &quot;CharArray&quot; selection


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