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