Java’s Virtual Machine’s Endianness
Multibyte data in the class files are stored big-endian. From The Java Virtual Machine Specification, Java SE 7 Edition, Chapter 4: The class File Format: A class file consists of a stream of 8-bit bytes. All 16-bit, 32-bit, and 64-bit quantities are constructed by reading in two, four, and eight consecutive 8-bit bytes, respectively. Multibyte … Read more