untested negative integers (major type 1)
endianness conversions, fixes #1