MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlDocDumpMemory

Function xmlDocDumpMemory

ThirdParty/libxml2/vtklibxml2/xmlsave.c:2718–2721  ·  view source on GitHub ↗

* xmlDocDumpMemory: * @cur: the document * @mem: OUT: the memory pointer * @size: OUT: the memory length * * Dump an XML document in memory and return the #xmlChar * and it's size * in bytes. It's up to the caller to free the memory with xmlFree(). * The resulting byte array is zero terminated, though the last 0 is not * included in the returned size. */

Source from the content-addressed store, hash-verified

2716 * included in the returned size.
2717 */
2718void
2719xmlDocDumpMemory(xmlDocPtr cur, xmlChar**mem, int *size) {
2720 xmlDocDumpFormatMemoryEnc(cur, mem, size, NULL, 0);
2721}
2722
2723/**
2724 * xmlDocDumpFormatMemory:

Callers 6

parseAndPrintFileFunction · 0.85
pushParseTestFunction · 0.85
pushBoundaryTestFunction · 0.85
memParseTestFunction · 0.85
errParseTestFunction · 0.85
fdParseTestFunction · 0.85

Calls 1

Tested by 5

pushParseTestFunction · 0.68
pushBoundaryTestFunction · 0.68
memParseTestFunction · 0.68
errParseTestFunction · 0.68
fdParseTestFunction · 0.68