Method

WPEPlatformBufferimport_to_pixels

Declaration [src]

GBytes*
wpe_buffer_import_to_pixels (
  WPEBuffer* buffer
  GError** error
)

Description [src]

Import buffer into a pixels buffer.

Return value

Type: GBytes

A GBytes with the pixels data, or NULL in case of error.

The data is owned by the instance.