GLib.OutputStream – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
OutputStream
OutputStream
clear_pending
close
close_async
flush
flush_async
has_pending
is_closed
is_closing
set_pending
splice
splice_async
write
write_all
write_async
write_bytes
write_bytes_async
OutputStream
Object Hierarchy:
Description:
public
abstract
class
OutputStream
:
Object
All known sub-classes:
BufferedOutputStream
ConverterOutputStream
DataOutputStream
FileOutputStream
FilterOutputStream
MemoryOutputStream
Required by:
PollableOutputStream
Namespace:
GLib
Package:
gio-2.0
Content:
Creation methods:
protected
OutputStream
()
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
virtual
bool
flush
(
Cancellable
? cancellable =
null
)
throws
Error
public
virtual
async
bool
flush_async
(
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
)
throws
Error
public
bool
has_pending
()
public
bool
is_closed
()
public
bool
is_closing
()
public
bool
set_pending
()
throws
Error
public
virtual
ssize_t
splice
(
InputStream
source,
OutputStreamSpliceFlags
flags,
Cancellable
? cancellable =
null
)
throws
IOError
public
virtual
async
ssize_t
splice_async
(
InputStream
source,
OutputStreamSpliceFlags
flags,
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
)
throws
IOError
public
abstract
ssize_t
write
(
uint8
[] buffer,
Cancellable
? cancellable =
null
)
throws
IOError
public
bool
write_all
(
uint8
[] buffer,
out
size_t
bytes_written,
Cancellable
? cancellable =
null
)
throws
IOError
public
virtual
async
ssize_t
write_async
(
uint8
[] buffer,
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
)
throws
IOError
public
ssize_t
write_bytes
(
Bytes
bytes,
Cancellable
? cancellable =
null
)
throws
Error
public
async
ssize_t
write_bytes_async
(
Bytes
bytes,
int
io_priority =
DEFAULT
,
Cancellable
? cancellable =
null
)
throws
Error
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