[ Version ( since = "0.3.0" ) ]
public MutableBuffer slice (int64 offset, int64 size)
| this | |
| offset |
An offset in the buffer data in byte. |
| size |
The number of bytes of the sliced data. |
|
A newly created MutableBuffer that shares data of the base MutableBuffer. The created MutableBuffer has data start with offset from the base buffer data and are the specified bytes size. |