Pergunta

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

Nenhuma solução correta

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top