StructObject

public class StructObject extends NativeObject

StructObject the ascendant of every structure.

Constructors

StructObject

protected StructObject(Pointer peer)

StructObject constructor.

Uses the parameter peer as peer.

Parameters:
  • peer – Pointer to the front of the structure

StructObject

protected StructObject(Class<? extends StructObject> type)

StructObject constructor.

Allocates space for type and use it as peer.

Parameters:
  • type – The Java class of the structure to allocate