Open the reader to decode XML from the specified stream buffer.
Declared in <balxml_decoder.h>
int
open(
std::streambuf* buffer,
char const* uri = 0);
Open the associated Reader object (see Reader::open) to read XML data from the specified stream buffer. The (optionally) specified uri is used for identifying the input document in error messages. Return 0 on success and non-zero otherwise.
0 on success and non-zero otherwise
| Name | Description |
|---|---|
| buffer | buffer providing XML data |
| uri | optional URI identifying the input document in error messages |