[ CCode ( has_construct_function = false ) ]
public Buffer.wrapped (owned uint8[] data)
Creates a new buffer that wraps the given data
.
The memory will be freed with g_free and will be marked writable.
data |
data to wrap |
size |
allocated size of |
a new Buffer |