Get the buffer at @idx.
the index
the buffer at @idx in @group or %NULL when there is no buffer. The buffer remains valid as long as @list is valid and buffer is not removed from the list.
See Implementation
Get the buffer at @idx.