| Top |
Passes bytes through without transforming, copying or buffering them. Filtering and completion return the supplied input pointer, length and prespace unchanged, including for empty input. Output is borrowed from the caller and has the same lifetime as the supplied input buffer.
Unlike a GMimeFilterBasic using a pass-through codec, this filter does not allocate an output buffer. It has no conversion state to reset; copying creates a new, independent filter of the same type.
GMimeFilter *
g_mime_filter_pass_through_new (void);
Creates a filter that passes data through without processing or copying it. Completion emits the supplied input without adding bytes, and the filter can be reused without resetting it.