pop


Description:

public Buffer? pop (CollectData data)

Pop the buffer currently queued in data.

This function should be called with the this STREAM_LOCK held, such as in the callback handler.

MT safe.

Parameters:

this

the collectpads to pop

data

the data to use

Returns:

The buffer in data or null if no buffer was queued. You should unref the buffer after usage.