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.
MT safe.
a #GBytes to wrap
a new #GstBuffer wrapping @bytes
ConstructionException GTK+ fails to create the object.
1.16
See Implementation
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.
MT safe.