mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-13 11:58:30 +01:00
The current buffer API is pretty much C-specific, and cannot be adequately described in a way that is friendly to introspection and language bindings: the passed buffer is allocated by the caller, but the written size of the buffer is in the return value. Using GBytes, we get a better API at the cost of an additional allocation.
17 KiB
17 KiB