overload read/pre_read function for easy_ring_buf.h