renamed read* to readBE*