Stream
Object Hierarchy:
Description:
[
CCode ( type_id =
"camel_stream_get_type ()" ) ]
public class Stream :
Object,
Seekable
Abstract base class for I/O streams.
Stream is an abstract base class that implements a simple read/write stream interface. It is used throughout
Camel for I/O abstraction, allowing the same message handling code to work with files, sockets, memory buffers, and more.
The stream hierarchy includes:
- **StreamBuffer** — provides line-buffering on top of another stream, including
a convenient read_line function.
- **StreamFilter** — a sophisticated stream that runs data through a chain of
MimeFilter instances for efficient pipelined processing.
- **StreamFs** — a file-descriptor-backed stream.
- **StreamMem** — a memory-backed stream backed by a
ByteArray.
- **StreamNull** — a null stream that discards all output; useful for measuring
encoded output size.
- **StreamProcess** — a stream backed by a child process.
Utility functions such as write_string and
write_to_stream are provided for common operations.
Content:
Properties:
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object
All known members inherited from interface GLib.Seekable