Initial bigendian support in viewer (issue #259)