pub fn do_write_line(
output: &mut Vec<u8>,
line: &[u8],
expand_tabs: bool,
tabsize: usize,
) -> Result<()>
Expand description
Write a single line to an output stream, expanding tabs to space if necessary. This assumes that line does not contain any line breaks (if it does and tabs are to be expanded to spaces, the result is undefined).