Class MachConstants


  • public final class MachConstants
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MachConstants()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isMagic​(int magic)
      Convenience method for matching the magic number
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MachConstants

        public MachConstants()
    • Method Detail

      • isMagic

        public static final boolean isMagic​(int magic)
        Convenience method for matching the magic number
        Parameters:
        magic - the magic number read from the file
        Returns:
        true if the magic number matches