Class NativeSimple

java.lang.Object
de.intarsys.nativec.type.NativeObject
de.intarsys.nativec.type.NativeSimple
All Implemented Interfaces:
INativeObject
Direct Known Subclasses:
NativeNumber, NativeVoid

public abstract class NativeSimple extends NativeObject
An abstract superclass for the implementation of primitive NativeObject instances. These NativeObject instances are not constructed from other NativeObject instances but implemented directly in Java, having a fixed size.
  • Constructor Details

    • NativeSimple

      protected NativeSimple()
      Create a wrapper for a NativePrimitive
    • NativeSimple

      protected NativeSimple(INativeHandle handle)
  • Method Details

    • getByteCount

      public int getByteCount()
      Description copied from class: NativeObject
      The number of bytes occupied by this.
      Specified by:
      getByteCount in class NativeObject
      Returns:
      The number of bytes occupied by this.