XmlDocument_newFromBytes
Creates a new XML document instance from an array of bytes
#include "InterfaceFactory.h"
DIRXML_EXPORT
XmlDocument * IFAPI XmlDocument_newFromBytes (
const unsigned char *bytes,
int length,
const unicode *encoding,
int endian);
The returned instance must be destroyed by calling the XmlDocument_destroy method.
The XmlDocument instance does not take ownership of the passed byte array and so it must be freed after the XmlDocument instance is destroyed.