Buffer.subbuffer
Description:
[ CCode ( has_construct_function = false ) ]
public Buffer.subbuffer (Buffer parent, size_t offset, size_t length)
public Buffer.subbuffer (Buffer parent, size_t offset, size_t length)
Creates a new Buffer containing length
bytes "copied" from
this starting at offset
.
(Normally this will not actually copy any data, but will instead simply reference the same data as this does.)
Parameters:
this |
the parent Buffer |
offset |
offset within this to start at |
length |
number of bytes to copy from this |
Returns:
the new Buffer. |