Adapter.getList

Returns a GList of buffers containing the first nbytes bytes of the adapter, but does not flush them from the adapter. See Adapter.takeList for details.

Caller owns returned list and contained buffers. Buffer.unref each buffer in the list before freeing the list after usage.

class Adapter
getList
(
size_t nbytes
)

Parameters

nbytes size_t

the number of bytes to get

Return Value

Type: ListG

a GList of buffers containing the first nbytes of the adapter, or NULL if nbytes bytes are not available

Meta