[#BloombergLP-balxml-Decoder_ChoiceContext-addCharacters] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Decoder_ChoiceContext.adoc[Decoder_ChoiceContext]::addCharacters :relfileprefix: ../../../ :mrdocs: Process the specified character data `chars` of the specified `length` while decoding a choice element. Return 0 on success and a non‐zero value if invalid characters are present. == Synopsis Declared in `<balxml_decoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual int addCharacters( char const* chars, std::size_t length, xref:BloombergLP/balxml/Decoder.adoc[Decoder]* decoder) override; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#