Skip to main content

xmlNewStringInputStream

Function xmlNewStringInputStream 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn xmlNewStringInputStream( ctxt: *mut _xmlParserCtxt, buffer: *const xmlChar, ) -> *mut _xmlParserInput
Expand description

Create a parser input stream from a zero-terminated string. The string must remain valid for the lifetime of the input (static mode).

§UPSTREAM-PARITY

xmlParserInputPtr xmlNewStringInputStream(xmlParserCtxtPtr ctxt,
                                          const xmlChar *buffer);