[CCode (cheader_filename = "gio/gio.h")]
public class MemoryOutputStream : GLib.OutputStream, GLib.Seekable {
[CCode (type = "GOutputStream*", has_construct_function = false)]
- public MemoryOutputStream ([CCode (array_length_type = "gsize")] owned uint8[] data, GLib.ReallocFunc? realloc_function, GLib.DestroyNotify? destroy_function);
+ public MemoryOutputStream ([CCode (array_length_type = "gsize")] owned uint8[]? data, GLib.ReallocFunc? realloc_function, GLib.DestroyNotify? destroy_function);
[CCode (array_length = false)]
public unowned uint8[] get_data ();
public size_t get_data_size ();
g_memory_input_stream_*_data.data type_name="uint8" is_array="1" transfer_ownership="1" array_length_type="gsize"
g_memory_input_stream_*_data.len hidden="1"
g_memory_input_stream_*_data.destroy nullable="1"
-g_memory_output_stream_new.data type_name="uint8" is_array="1" transfer_ownership="1" array_length_type="gsize"
+g_memory_output_stream_new.data type_name="uint8" is_array="1" transfer_ownership="1" array_length_type="gsize" nullable="1"
g_memory_output_stream_new.size hidden="1"
g_memory_output_stream_new.realloc_function nullable="1"
g_memory_output_stream_get_data type_name="uint8" is_array="1" no_array_length="1"