File type checks are now consistent.  Simplified reading from buffers.
Treat big-endian data as default.