Function htmlescape::decode_html_rw[][src]

pub fn decode_html_rw<R: BufRead, W: Write>(
    reader: R,
    writer: &mut W
) -> Result<(), DecodeErr>

Decodes an entity-encoded string from a reader to a writer.

Similar to decode_html, except reading from a reader rather than a string, and writing to a writer rather than returning a String.

Arguments

Errors

Errors can be caused by IO errors, reader producing invalid UTF-8, or by syntax errors.