Skip to main content

parse_memory

Function parse_memory 

Source
pub unsafe fn parse_memory(buffer: *const c_char, size: c_int) -> *mut _xmlDoc
Expand description

Parse HTML from a memory buffer.

§UPSTREAM-PARITY

Equivalent to htmlParseMemory in libxml2.

§Safety

  • buffer must point to valid memory of at least size bytes.
  • size must be non-negative.