Package jnr.ffi
Class StructLayout.BOOL16
java.lang.Object
jnr.ffi.StructLayout.Field
jnr.ffi.StructLayout.AbstractField
jnr.ffi.StructLayout.AbstractBoolean
jnr.ffi.StructLayout.BOOL16
- Enclosing class:
- StructLayout
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class jnr.ffi.StructLayout.AbstractBoolean
toString
Methods inherited from class jnr.ffi.StructLayout.Field
enclosing, offset
-
Constructor Details
-
BOOL16
protected BOOL16() -
BOOL16
-
-
Method Details
-
get
Description copied from class:StructLayout.AbstractBoolean
Gets the value for this field.- Specified by:
get
in classStructLayout.AbstractBoolean
- Parameters:
ptr
- The pointer to the field.- Returns:
- a boolean.
-
set
Description copied from class:StructLayout.AbstractBoolean
Sets the field to a new value.- Specified by:
set
in classStructLayout.AbstractBoolean
- Parameters:
ptr
- The pointer to the field.value
- The new value.
-