Method

PhoshWlBufferget_bytes

Declaration [src]

GBytes*
phosh_wl_buffer_get_bytes (
  PhoshWlBuffer* self
)

Description [src]

Get a copy of the buffer data.

Return value

Type: GBytes

A copy of data as GBytes.

The caller of the method takes ownership of the data, and is responsible for freeing it.