Reads the read buffer size.
A derived class must override this method to implement the buffer size reading code.