BloombergLP::balxml::Utf8ReaderWrapper::documentEncoding

Return the document encoding or NULL on error.

Synopsis

Declared in <balxml_utf8readerwrapper.h>

virtual
char const*
documentEncoding() const override;

Description

The returned pointer is owned by this object and must not be modified or deallocated by the caller. The returned pointer becomes invalid when close is called or the reader is destroyed.

Return Value

the document encoding, or NULL on error