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

Function xmlOutputBufferCreateBuffer

ThirdParty/libxml2/vtklibxml2/xmlIO.c:1846–1857  ·  view source on GitHub ↗

* xmlOutputBufferCreateBuffer: * @buffer: a xmlBufferPtr * @encoder: the encoding converter or NULL * * Create a buffered output for the progressive saving to a xmlBuffer * * Returns the new parser output or NULL */

Source from the content-addressed store, hash-verified

1844 * Returns the new parser output or NULL
1845 */
1846xmlOutputBufferPtr
1847xmlOutputBufferCreateBuffer(xmlBufferPtr buffer,
1848 xmlCharEncodingHandlerPtr encoder) {
1849 xmlOutputBufferPtr ret;
1850
1851 if (buffer == NULL) return(NULL);
1852
1853 ret = xmlOutputBufferCreateIO(xmlBufferWrite, NULL, (void *) buffer,
1854 encoder);
1855
1856 return(ret);
1857}
1858
1859/**
1860 * xmlOutputBufferGetContent:

Callers 4

closeFileMethod · 0.85
xmlSaveToBufferFunction · 0.85
xmlNewTextWriterMemoryFunction · 0.85

Calls 1

xmlOutputBufferCreateIOFunction · 0.85

Tested by

no test coverage detected