Return the new read position
size_t relay_file_read_end_pos(struct rchan_buf * buf, size_t read_pos, size_t count);
buf
relay channel buffer
read_pos
file read position
count
number of bytes to be read