I am learning C++ specially about binary file structure/manipulation, and since I am totally new to the subject of binary files, bits, bites & hexadecimal numbers, I decided to take one step backward and establish a solid understanding on the subjects.
In the picture I have included below, I wrote two words (blue thief
) in a .txt
file.
The reason for this, is when I decode the file using a hexeditor, I wanted to understand how the information is really stored in hex format. Now, don't get me wrong, I am not trying to make a living out of reading hex formats all day, but only to have a minimum level of understanding the basics of a binary file's composition. I also, know all files have different structures, but just for the sake of understanding, I wanted to know, how exactly the words "blue thief" and a single ' '
(space) were converted into those characters.
One more thing, is that, I have heard that binary files contain three types of information:
header
, ftm
& and the data
! is that only concerned with multimedia files like audios, videos? because, I can't seem to see anything, other than what it looks like a the data
chunk in this file only.