Buffer


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( deprecated = true , deprecated_since = "2.32" , replacement = "Buffer.take" ) ]
public Buffer (MemoryUse use, uint8[] data)

Warning: Buffer is deprecated since 2.32. Use Buffer.take.

Creates a new Buffer containing data.length bytes from data.

Parameters:

use

how data is to be used by the buffer

data

data

length

length of data

Returns:

the new Buffer.




2022 vala-language.org