getDocumentBytes
Returns the XML document as a serialized byte array.
#include "NativeInterface.h"
const unsigned char * METHOD_CALL getDocumentBytes (
const unicode *encoding,
int endian,
int *length);
public byte[] getDocumentBytes (
java.lang.String encoding)
This method returns zero if there is no data or the desired encoding is not supported. "US-ASCII", UTF-8", and "UTF-16" are always supported.