Hi, I have a simple question, but I cant seem to find the function to do it! How can I read N bytes from a file opened in binary mode. Basically I'm trying to check that a PDF file is indeed a PDF file thanks,