Buffer.wrapped_bytes
Description:
[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.16" ) ]
public Buffer.wrapped_bytes (Bytes bytes)
Creates a new Buffer that wraps the given bytes
.
The data inside bytes
cannot be null
and the resulting buffer will be marked as read only.
Parameters:
Returns:
a new Buffer wrapping bytes
|