copy


Description:

[ Version ( since = "0.3.0" ) ]
public Buffer? copy (int64 start, int64 size) throws Error

Parameters:

this

A Buffer.

start

An offset of data to be copied in byte.

size

The number of bytes to be copied from the start.

Returns:

A newly copied Buffer on success, null on error.