Class DWARFEndianity


  • public final class DWARFEndianity
    extends java.lang.Object
    DWARF Endianity consts from www.dwarfstd.org/doc/DWARF4.pdf
    • Constructor Summary

      Constructors 
      Constructor Description
      DWARFEndianity()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean getEndianity​(long endian, boolean defaultisBigEndian)
      Get the endianity given a DWARFEndianity value.
      • Methods inherited from class java.lang.Object

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

      • DWARFEndianity

        public DWARFEndianity()
    • Method Detail

      • getEndianity

        public static boolean getEndianity​(long endian,
                                           boolean defaultisBigEndian)
        Get the endianity given a DWARFEndianity value.
        Parameters:
        endian - DWARFEndianity value to check
        defaultisBigEndian - true if by default is big endian and false otherwise
        Returns:
        true if big endian and false if little endian
        Throws:
        java.lang.IllegalArgumentException - if an unknown endian value is given