GLib.InputStream – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
InputStream
InputStream
clear_pending
close
close_async
has_pending
is_closed
read
read_all
read_async
read_bytes
read_bytes_async
set_pending
skip
skip_async
InputStream
Object Hierarchy:
Description:
public
abstract
class
InputStream
:
Object
All known sub-classes:
BufferedInputStream
ConverterInputStream
DataInputStream
FileInputStream
FilterInputStream
MemoryInputStream
MultipartInputStream
Required by:
PollableInputStream
Namespace:
GLib
Package:
gio-2.0
Content:
Creation methods:
protected
InputStream
()
Methods:
public
void
clear_pending
()
public
abstract
bool
close
(
Cancellable
? cancellable =
null
)
throws
IOError
public
virtual
async
bool
close_async
(
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
)
throws
IOError
public
bool
has_pending
()
public
bool
is_closed
()
public
abstract
ssize_t
read
(
uint8
[] buffer,
Cancellable
? cancellable =
null
)
throws
IOError
public
bool
read_all
(
uint8
[] buffer,
out
size_t
bytes_read,
Cancellable
? cancellable =
null
)
throws
IOError
public
virtual
async
ssize_t
read_async
(
uint8
[] buffer,
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
)
throws
IOError
public
Bytes
read_bytes
(
size_t
count,
Cancellable
? cancellable =
null
)
throws
Error
public
async
Bytes
read_bytes_async
(
size_t
count,
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
)
throws
Error
public
bool
set_pending
()
throws
Error
public
virtual
ssize_t
skip
(
size_t
count,
Cancellable
? cancellable =
null
)
throws
IOError
public
virtual
async
ssize_t
skip_async
(
size_t
count,
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
)
throws
IOError
Inherited Members:
All known members inherited from class GLib.Object
@new
newv
new_valist
get_type
get_class
@ref
unref
ref_sink
weak_ref
weak_unref
add_weak_pointer
remove_weak_pointer
@get
@set
get_property
set_property
get_data
set_data
set_data_full
steal_data
get_qdata
set_qdata
set_qdata_full
steal_qdata
freeze_notify
thaw_notify
dispose
constructed
notify_property
connect
disconnect
add_toggle_ref
remove_toggle_ref
bind_property
notify
ref_count