Creates a #GBytes pointing to the same memory as @buffer. The
#GBytes will hold a reference on @buffer to ensure that it is not
freed while the #GBytes is still valid.
classBuffer
Bytes
getAsBytes
()
Return Value
Type: Bytes
a new #GBytes which has the same content
as the #SoupBuffer.
Creates a #GBytes pointing to the same memory as @buffer. The #GBytes will hold a reference on @buffer to ensure that it is not freed while the #GBytes is still valid.