Buffer.this

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.

Parameters

data char[]

data

Return Value

the new #SoupBuffer.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.32