GLib.MemoryOutputStream – gio-2.0 Reference Manual
Packages
gio-2.0
GLib
MemoryOutputStream
data
data_size
destroy_function
realloc_function
size
MemoryOutputStream
get_data
get_data_size
get_size
steal_as_bytes
steal_data
MemoryOutputStream
Object Hierarchy:
Description:
public
class
MemoryOutputStream
:
OutputStream
,
PollableOutputStream
,
Seekable
Namespace:
GLib
Package:
gio-2.0
Content:
Properties:
public
void
*
data
{
construct
set
;
get
; }
public
ulong
data_size
{
get
; }
public
DestroyNotify
?
destroy_function
{
construct
set
;
get
; }
public
ReallocFunc
?
realloc_function
{
construct
set
;
get
; }
public
ulong
size
{
construct
set
;
get
; }
Creation methods:
public
MemoryOutputStream
(
owned
uint8
[]? data,
ReallocFunc
? realloc_function,
DestroyNotify
? destroy_function)
Methods:
public
weak
uint8
[]
get_data
()
public
size_t
get_data_size
()
public
size_t
get_size
()
public
Bytes
steal_as_bytes
()
public
uint8
[]
steal_data
()
Inherited Members:
All known members inherited from class GLib.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
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
All known members inherited from interface GLib.PollableOutputStream
can_poll
create_source
is_writable
write_nonblocking
All known members inherited from interface GLib.Seekable
can_seek
can_truncate
seek
tell
truncate