Buffer.newWrappedBytes

Creates a new #GstBuffer that wraps the given bytes. The data inside bytes cannot be null and the resulting buffer will be marked as read only.

class Buffer
static
newWrappedBytes

Parameters

bytes glib.bytes.Bytes

a #GBytes to wrap

Return Value

Type: gst.buffer.Buffer

a new #GstBuffer wrapping bytes