public static MSDOSHeader newInstance ( byte [ ] headerbytes , long peSigOffset ) throws IOException { MSDOSHeader header = new MSDOSHeader ( headerbytes , peSigOffset ) ; header . read ( ) ; return header ; }
Creates and returns an instance of the MSDOSHeader with the given bytes and the file offset of the PE signature .