buffer_event: removed magic numbers for read/write buffer locations