If some files, such as media files, have no suffix, it is difficult to know what type they are. We can determine the file format through the file header.
These header codes can be viewed by opening the file in binary mode with UltraEdit or winhex.
By observing the original bytes of the file, you can find some unique character patterns for each file. Some files have special byte prefixes called magic bytes. These byte prefixes are specially made and included in files to identify file types