read from the buffer