copy_deep


Description:

[ Version ( since = "1.6" ) ]
public Buffer? copy_deep ()

Creates a copy of the given buffer.

This will make a newly allocated copy of the data the source buffer contains.

Parameters:

this

a Buffer.

Returns:

a new copy of this if the copy succeeded, null otherwise.