Recognize the size-end mode in a computer

Source: Internet
Author: User

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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.