Questions tagged [hexadecimal]
95 questions
85
votes
12 answers
Why are hex editors called binary editors?
Hex and binary are two different bases. Hex, in my understanding, is simply an easier to use and more convenient version of binary.
However, I often hear that hex editors are binary editors. If you search for "binary editor" on Google, you get…
Joseph
- 2,178
50
votes
6 answers
Show hexadecimal/ASCII codes on Notepad++ 6.3
Is there a way to show the hexadecimal/ASCII for all text showing in the editor?
I use Windows XP and Notepad++ 6.3
mpajoh
- 531
39
votes
6 answers
How to format a Microsoft Excel 2007 cell in hexadecimal?
I would like a format a cell in Microsoft Excel 2007 in hexadecimal but am not finding how to do this.
Is there a built-in way to change the base from 10 to 16 for a cell?
WilliamKF
- 8,058
29
votes
3 answers
How to pad a file with "FF" using dd?
How to pad a file with 0xFF using dd?
This command will pad the output file with zeroes until the file size reaches 100 KB:
dd if=inputFile.bin ibs=1k count=100 of=paddedFile.bin conv=sync
However, I want to pad a file with 0xFFs instead of 0x00s.
XP1
- 1,091
19
votes
9 answers
How can I convert a hex number to a decimal number in Excel?
I have a cell containing this value:
0x00006cd2c0306953
and I want to convert it to a number.
I tried:
=HEX2DEC(C8)
where C8 is the cell containing my hex value.
I get a #NUM error.
What am I doing wrong?
Nathan Fellman
- 9,662
13
votes
4 answers
What is the hexadecimal system?
What is the hexadecimal system and why is it used so much in computing? I know that computers use 0s and 1s to store data, so how come we use hexadecimal?
Justine Krejcha
- 2,352
- 2
- 19
- 28
8
votes
3 answers
Proper way to denote base 10 (decimal) in computer science
The proper way to denote hex, or base 16, is to prepend 0x
Conversely, what is the proper way to denote decimal/base 10?
user2018084
- 2,254
7
votes
1 answer
View serial device output in console in hex
I'm able to convert my serial device output to hex format doing these two commands:
cat /dev/ttyUSB0 > data.dump #send some data to serial device, and interrupt cat using Ctrl+C after some time
xxd data.dump
It gives me output like:
00000000: 80ff…
bladekp
- 279
- 1
- 3
- 7
6
votes
3 answers
Why do we use hex so much, when there are enough letters to use base 32 instead?
You can have 0-255 in hex, stored in 2 characters, so it kind of compresses the data, and is used for all sorts of things including colour, IP and MAC addresses.
My question is why did they stop at 16 bit (or why is that most commonly used)? There…
Peter
- 1,105
4
votes
0 answers
Sublime text opens an xml file in HEX view
I have an xml file(rename to .xml) and I need to open this in Sublime text. But if I try to open and view it, it displays the data in Hexadecimal values. But I want this to be displayed in xml format. But If I view other xml files its opening…
Lucky
- 450
4
votes
2 answers
A calculator that shows both hex and decimal at the same time
I'm looking for a Windows calculator that has a dual dec/hex display.
That is, assuming I'm adding in Hex mode, I want to have another line showing me the decimal value of my current Hex calculation.
Something like:
Display1: …
David דוד
- 226
4
votes
1 answer
How do twelve-character color codes work?
Possible Duplicate:
48-bit colours?
I'm using the Xfce 4.10 desktop environment on Ubuntu 12.04. While trying to get things the way I want I came across #aaaaaaaaaaaa and #666666666666 in…
user151227
4
votes
2 answers
Changing Duration of Mp4 - Hex Editor
Is there a way to make my mp4 file seem to have a longer or shorter duration than it actually has?
I tried playing around with an Hex Editor, but being a noob i couldn't make it work.
Lukas Mikkel Doppler
- 41
- 1
- 2
4
votes
3 answers
Hexadecimal format and storage on a computer hard drive: Does it store in half the bytes?
Allow me to preface that I am not a computer specialist. More than anything, I am curious as to the information.
In a conversation with a computer science specialist, I was told that a string of decimal numerical values, such 73829182093, could be…
J. J.
- 39
3
votes
2 answers
How to view a NTFS filename in HEX view
Basically an ill behaved software in my Windows PC is spoiling filenames with illegal characters.
To help the developer to debug this issue, I am looking for a solution to dump the offending filename in HEX view.
Windows 8 NTFS file system
Riccardo
- 453