Creates a new #SoupBuffer containing @length bytes from @data.
This function is exactly equivalent to soup_buffer_new() with %SOUP_MEMORY_TAKE as first argument; it exists mainly for convenience and simplifying language bindings.
data
the new #SoupBuffer.
ConstructionException GTK+ fails to create the object.
2.32
See Implementation
Creates a new #SoupBuffer containing @length bytes from @data.
This function is exactly equivalent to soup_buffer_new() with %SOUP_MEMORY_TAKE as first argument; it exists mainly for convenience and simplifying language bindings.