> foo.length = (int) my_memory_output_stream.get_data_size (); // set
> foo.length correctly

Seems weird, but the example at

https://valadoc.org/gio-2.0/GLib.MemoryOutputStream.html

also uses get_data_size() to set the size correctly, so I think this is
by intention.

_______________________________________________
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to