InputStream
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( ref_function = "ctpl_input_stream_ref" , unref_function = "ctpl_input_stream_unref" ) ]
public class InputStream
[ CCode ( ref_function = "ctpl_input_stream_ref" , unref_function = "ctpl_input_stream_unref" ) ]
public class InputStream
Namespace: Ctpl
Package: ctpl
Content:
Creation methods:
- public InputStream (InputStream stream, string name)
- public InputStream.for_gfile (File file) throws Error
- public InputStream.for_memory (string data, ssize_t length, DestroyNotify destroy, string name)
- public InputStream.for_path (string path) throws Error
- public InputStream.for_uri (string uri) throws Error
Methods:
- public bool eof () throws Error
- public bool eof_fast ()
- public char get_c () throws Error
- public ssize_t peek (void* buffer, size_t count) throws Error
- public char peek_c () throws Error
- public unowned string peek_symbol_full (ssize_t max_len, size_t length) throws Error
- public unowned string peek_word (string accept, ssize_t accept_len, ssize_t max_len, size_t length) throws Error
- public ssize_t read (void* buffer, size_t count) throws Error
- public double read_double () throws Error
- public long read_long () throws Error
- public bool read_number (Value value) throws Error
- public unowned string read_string_literal () throws Error
- public unowned string read_symbol_full (ssize_t max_len, size_t length) throws Error
- public unowned string read_word (string accept, ssize_t accept_len, ssize_t max_len, size_t length) throws Error
- public void set_error (Quark domain, int code, string format) throws Error
- public ssize_t skip (size_t count) throws Error
- public ssize_t skip_blank () throws Error
- public ssize_t skip_word (string reject, ssize_t reject_len) throws Error