Ensure all bytes are read