문제

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.

http://www.rgagnon.com/javadetails/java-0544.html

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top