Magic number file checking
-
30-10-2019 - |
题
I'm attempting to read magic numbers/bytes to check the format of a file. Will reading a file byte by byte work in the same way on a Linux machine?
Edit: The following shows to get the magic bytes from a class file using an int. I'm trying to do the same for a variable number of bytes.
没有正确的解决方案
不隶属于 StackOverflow