Files in your computer are stored in the hard disk sector

Source: Internet
Author: User

in the process of data recovery, mainly is the process of dealing with, so it is necessary to popularize the basic knowledge of data processing. Because the computer is in binary language communication, and binary conversion into the system is relatively convenient, so we are using disk editing software to open the hard disk is most of what we see is in hexadecimal format.

Ten- in-system: every decimal has 0 1 2 3 4 5 6 7 8 9

2 binary: binary only 0 and 1 two digits

8 binary: every octal has 0 1 2 3 4 5 6 7 eight digits

in-system: every rounding except 0-9 10 digits, plus a B C D E F six letters

Number of storage formats

The storage format of the number, which is the order in which the numbers are stored. When representing the size of a numeric value, a byte can only represent 255 (0XFF), The computer needs to represent a lot of data 255 2 or 4 "or even 8 big-endian format and little-endian format

Big-endian: The big Head is the order, the byte is stored by the highest bit to the lowest bit , namely the high position in the front, the low post.

Little-endian: Small head for the order, byte from the lowest bit to the highest position , that is, high in the back, low in front.

For example, there is a hex number, AB CD

Use the Big-endian format for storage in the form of the AB CD decimal value:305441741

Use Little-endian format for CD AB decimal value:3450549266

Some people may think that computers use binary format to store data, and most of us are accustomed to using the ten -input calculation, will need to often convert into the system and feel trouble. In fact, as a classic data recovery tool WINHEX, it will automatically complete the conversion , Our common WIN system under Data is typically stored in the Little-endian format.


Files in your computer are stored in the hard disk sector

Related Article

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.