| Top |
Only ASCII spaces and tabs are stripped, immediately before either CR or LF and at the end of completed input. Newline bytes, nonblank bytes and internal whitespace are preserved without character-set conversion.
Blanks are buffered across input chunks until subsequent input determines whether they are internal or trailing. Completion processes its final input before discarding any remaining blanks, including blanks buffered by earlier calls. Reset discards pending blanks; copying creates a fresh filter without copying buffered input.
GMimeFilter *
g_mime_filter_strip_new (void);
Creates a new GMimeFilterStrip filter which strips trailing ASCII spaces and tabs before CR, LF and the end of completed input. Internal blanks are preserved, including those spanning input chunks.