[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.20" ) ]
public Buffer.memdup (uint8[] data)
Creates a new buffer of size data.length
and fills it with a copy of data
.
data |
data to copy into new buffer |
size |
size of |
a new Buffer |