Add methods to read/write arrays with correct byte ordering to OFStream.