IOChannel
Object Hierarchy:
Description:
[ Compact ]
public class IOChannel
Content:
Creation methods:
Methods:
- public int unix_get_fd ()
- public void init ()
- public IOStatus read_chars (char[] buf, out size_t bytes_read) throws ConvertError, IOChannelError
- public IOStatus read_unichar (out unichar thechar) throws ConvertError, IOChannelError
- public IOStatus read_line (out string str_return, out size_t length, out size_t terminator_pos) throws ConvertError, IOChannelError
- public IOStatus read_line_string (StringBuilder buffer, out size_t terminator_pos) throws ConvertError, IOChannelError
- public IOStatus read_to_end (out string str_return, out size_t length) throws ConvertError, IOChannelError
- public IOStatus write_chars (char[] buf, out size_t bytes_written) throws ConvertError, IOChannelError
- public IOStatus write_unichar (unichar thechar) throws ConvertError, IOChannelError
- public IOStatus flush () throws IOChannelError
- public IOStatus seek_position (int64 offset, SeekType type) throws IOChannelError
- public IOStatus shutdown (bool flush) throws IOChannelError
- public IOSource create_watch (IOCondition condition)
- public uint add_watch (IOCondition condition, IOFunc func)
- public uint add_watch_full (int priority, IOCondition condition, owned IOFunc func)
- public size_t get_buffer_size ()
- public void set_buffer_size (size_t size)
- public IOCondition get_buffer_condition ()
- public IOFlags get_flags ()
- public IOStatus set_flags (IOFlags flags) throws IOChannelError
- public unowned string get_line_term (out int length)
- public void set_line_term (string line_term, int length)
- public bool get_buffered ()
- public void set_buffered (bool buffered)
- public unowned string get_encoding ()
- public IOStatus set_encoding (string? encoding) throws IOChannelError
- public bool get_close_on_unref ()
- public void set_close_on_unref (bool do_close)