Preface
In java, a class in the java. nio package is ByteOrder. What is this? I believe many people do not know it. I have read this article about java. nio. I tried my best to recall that I had learned from college textbooks. This is a theoretical knowledge of computers. Baidu encyclopedia has an introduction to "big-size-end models ".Click here
Definition of the size-end Mode
Big end ModeIs the high data index, which is stored in the low address of the memory, while the low data level is stored in the high address of the memory, this storage mode is similar to processing data as strings: The address increases from small to large, and the data is placed from high to low;
Small-end ModeIs the index data high point stored in the memory high address, and the data low point is stored in the memory low address, this storage mode effectively combines the high and low addresses with the data bit permissions. The high address part has a high weight, and the low address part has a low weight, which is consistent with our logic method.
The Chinese version of Java NIO is described as follows: