readBuffer at once