read-events: Advance the buffer pointer, not just create N first events.
Patch by Pawel Turnau.