Package jnr.ffi

Class StructLayout.Field

    • 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.