Re: [Vala] GLib.MemoryOutput.Stream.get_data - is this a bug?



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.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]