Buffer.newWrappedBytes
gst.buffer.Buffer newWrappedBytes(glib.bytes.Bytes bytes)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.
Parameters
bytes | a #GBytes to wrap |
Returns
a new #GstBuffer wrapping bytes