Package jnr.ffi

Class StructLayout.Field

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Field​(int offset)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      StructLayout enclosing()
      Gets the Struct this Member is a member of.
      long offset()
      Gets the offset within the structure for this field.
      • Methods inherited from class java.lang.Object

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

      • Field

        protected Field​(int offset)
    • Method Detail

      • enclosing

        public final StructLayout enclosing()
        Gets the Struct this Member is a member of.
        Returns:
        a Struct.
      • offset

        public final long offset()
        Gets the offset within the structure for this field.
        Returns:
        the offset within the structure.