Return correct size if there's enough data in the read buffer