Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is 44100 in hex in reversed order in hex editor?

I opened a wave file through hex editor. I tried two hex editors, and both put 44100 in hex (AC44) in reversed order.

Why is that? For ASCII characters, "fmt", the ordering is natural.

enter image description here

This is AC44.

enter image description here

Does this have to do with Big-Endian / Little-Endian? But why would other values displayed in the correct order?

Thanks!

like image 458
CppLearner Avatar asked Nov 01 '11 20:11

CppLearner


People also ask

What is offset in hex editor?

The offset is the number of bytes from the beginning of the string. It is shown in hexadecimal (digits 0-9, letters A-F). Each line can contain 16 bytes. You can't edit this column.

What is a hexadecimal in hex editor?

A hexadecimal file is a standard for storing binary files that can be used directly by the computer. A hex editor is also known as a byte editor or binary file editor.

What is a byte in hex editor?

In the most powerful hex editors, these areas can be configured to display other values. Every file on your machine is made up of a series of bytes. A byte is just a number that can store a value from 0 up to 255 inclusive.


1 Answers

Yes, it is stored in little endian format. The endianness of each field is shown here:

WAV format

Note that there is a mixture of big and little endian.

like image 189
Mark Byers Avatar answered Sep 30 '22 08:09

Mark Byers