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