Function gpp::process_buf[][src]

pub fn process_buf<T: BufRead>(
    buf: T,
    buf_name: &str,
    context: &mut Context
) -> Result<String, Error>
Expand description

Process a generic BufRead.

This function is a wrapper around process_line. It splits up the input into lines (adding a newline on the end if there isn’t one) and then processes each line.