Method

PurpleCircularBufferget_max_read

unstable since: 3.0

Declaration [src]

gsize
purple_circular_buffer_get_max_read (
  PurpleCircularBuffer* buffer
)

Description [src]

Determine the maximum number of contiguous bytes that can be read from the PurpleCircularBuffer. Note: This may not be the total number of bytes that are buffered - a subsequent call after calling purple_circular_buffer_mark_read() may indicate more data is available to read.

Available since: 3.0

Return value

Type: gsize

The number of bytes that can be read from the PurpleCircularBuffer.