Description

Steals the internal buffer memory and returns it as a binbuf.

The returned memory must be freed with eina_binbuf_free().

On failure, for example a read-only backing store was adopted with Efl.Io.Buffer.adopt_readonly, NULL is returned.

Since 1.19

Signature

binbuf_steal {
    return: ptr(free(Eina.Binbuf, eina_binbuf_free)) @warn_unused;
}

C signature

Eina_Binbuf *efl_io_buffer_binbuf_steal(Eo *obj);

Implemented by

  • Efl.Io.Buffer.binbuf_steal