| Modifier and Type | Field and Description |
|---|---|
| public static final int | CLEAR
For OUT arrays, clear the native memory area before passing to the native function |
| public static final int | IN
Copy the array contents to native memory before calling the function |
| public static final int | NULTERMINATE
Append a NUL byte to the array contents after copying to native memory |
| public static final int | OUT
After calling the function, reload the array contents from native memory |
| public static final int | PINNED
Pin the array memory and pass the JVM memory pointer directly to the function |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static final boolean | Returns: true If array data should be copied to native memory.The array flags. Any combination of IN | OUT | PINNED | NULTERMINATE. flags)Tests if the flags indicate data should be copied to native memory. |
| public static final boolean | Returns: true If array data should be copied from native memory.The array flags. Any combination of IN | OUT | PINNED | NULTERMINATE. flags)Tests if the flags indicate data should be copied from native memory. |
| CLEAR | back to summary |
|---|---|
| public static final int CLEAR For OUT arrays, clear the native memory area before passing to the native function | |
| IN | back to summary |
|---|---|
| public static final int IN Copy the array contents to native memory before calling the function | |
| NULTERMINATE | back to summary |
|---|---|
| public static final int NULTERMINATE Append a NUL byte to the array contents after copying to native memory | |
| OUT | back to summary |
|---|---|
| public static final int OUT After calling the function, reload the array contents from native memory | |
| PINNED | back to summary |
|---|---|
| public static final int PINNED Pin the array memory and pass the JVM memory pointer directly to the function | |
| ArrayFlags | back to summary |
|---|---|
| private ArrayFlags() | |
| isIn | back to summary |
|---|---|
| public static final boolean isIn(int flags) Tests if the flags indicate data should be copied to native memory.
| |
| isOut | back to summary |
|---|---|
| public static final boolean isOut(int flags) Tests if the flags indicate data should be copied from native memory.
| |