| Modifier and Type | Field and Description |
|---|---|
| pack-priv static int | |
| pack-priv static int | |
| private static Unsafe |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static long | |
| pack-priv static long[] | |
| pack-priv static long | |
| pack-priv static boolean | getBool(long ptr)
Set of helper function to read data of different PLATFORM types
from memory pointer by |
| pack-priv static boolean | |
| pack-priv static byte | |
| pack-priv static byte | |
| pack-priv static int | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static int | |
| pack-priv static short | |
| pack-priv static int | |
| pack-priv static short | |
| pack-priv static short | |
| pack-priv static int | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static int | |
| pack-priv static long | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static int | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | putLong(long ptr, long data)
Stores to C long data(four bytes)
Note: |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static byte[] | toBytes(long
native pointer to native memory data, int size in bytes of native memory length)Converts length bytes of data pointed by |
| pack-priv static long | toData(byte[] bytes)
Stores byte array into native memory and returns pointer to this memory Returns 0 if bytes is null |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long[] | toLongs(long
native pointer to native memory data, int size in longs(platform dependent) of native memory length)Converts length bytes of data pointed by |
| pack-priv static short[] | toUBytes(long
native pointer to native memory data, int size in bytes of native memory length)Converts length unsigned bytes of data pointed by |
| pack-priv static long | toUData(short[] bytes)
Stores short array as unsigned bytes into native memory and returns pointer to this memory Returns 0 if bytes is null |
| pack-priv static long | toUData(int[] shorts)
Stores int array as unsigned shorts into native memory and returns pointer to this memory Returns 0 if bytes is null |
| pack-priv static long | toUData(long[] ints)
Stores long array as unsigned intss into native memory and returns pointer to this memory Returns 0 if bytes is null |
| dataModel | back to summary |
|---|---|
| pack-priv static int dataModel | |
| longSize | back to summary |
|---|---|
| pack-priv static int longSize | |
| unsafe | back to summary |
|---|---|
| private static Unsafe unsafe | |
| Native | back to summary |
|---|---|
| pack-priv Native() | |
| allocateLongArray | back to summary |
|---|---|
| pack-priv static long allocateLongArray(int length) Allocates memory for array of native | |
| card32ToArray | back to summary |
|---|---|
| pack-priv static long[] card32ToArray(long ptr, int length) | |
| card32ToData | back to summary |
|---|---|
| pack-priv static long card32ToData(long[] arr) | |
| getBool | back to summary |
|---|---|
| pack-priv static boolean getBool(long ptr) Set of helper function to read data of different PLATFORM types
from memory pointer by | |
| getBool | back to summary |
|---|---|
| pack-priv static boolean getBool(long ptr, int index) | |
| getByte | back to summary |
|---|---|
| pack-priv static byte getByte(long ptr) | |
| getByte | back to summary |
|---|---|
| pack-priv static byte getByte(long ptr, int index) | |
| getByteSize | back to summary |
|---|---|
| pack-priv static int getByteSize() Access to C byte data(one byte) | |
| getCard32 | back to summary |
|---|---|
| pack-priv static long getCard32(long ptr) Set of function to access CARD32 type. All data which types are derived from CARD32 should be accessed using this accessors. These types are: XID(Window, Drawable, Font, Pixmap, Cursor, Colormap, GContext, KeySym), Atom, Mask, VisualID, Time | |
| getCard32 | back to summary |
|---|---|
| pack-priv static long getCard32(long ptr, int index) | |
| getCard32Size | back to summary |
|---|---|
| pack-priv static int getCard32Size() | |
| getInt | back to summary |
|---|---|
| pack-priv static int getInt(long ptr) | |
| getInt | back to summary |
|---|---|
| pack-priv static int getInt(long ptr, int index) | |
| getIntSize | back to summary |
|---|---|
| pack-priv static int getIntSize() Access to C int data(four bytes) | |
| getLong | back to summary |
|---|---|
| pack-priv static long getLong(long ptr) | |
| getLong | back to summary |
|---|---|
| pack-priv static long getLong(long ptr, int index) Returns index's element of the array of native long pointed by ptr | |
| getLongSize | back to summary |
|---|---|
| pack-priv static int getLongSize() Access to C long data(size depends on platform) | |
| getShort | back to summary |
|---|---|
| pack-priv static short getShort(long ptr) | |
| getShortSize | back to summary |
|---|---|
| pack-priv static int getShortSize() Access to C short data(two bytes) | |
| getUByte | back to summary |
|---|---|
| pack-priv static short getUByte(long ptr) | |
| getUByte | back to summary |
|---|---|
| pack-priv static short getUByte(long ptr, int index) | |
| getUByteSize | back to summary |
|---|---|
| pack-priv static int getUByteSize() Access to C unsigned byte data(one byte) | |
| getUInt | back to summary |
|---|---|
| pack-priv static long getUInt(long ptr) | |
| getUInt | back to summary |
|---|---|
| pack-priv static long getUInt(long ptr, int index) | |
| getUIntSize | back to summary |
|---|---|
| pack-priv static int getUIntSize() Access to C unsigned int data(four bytes) | |
| getULong | back to summary |
|---|---|
| pack-priv static long getULong(long ptr) Access to C "unsigned long" date type, which is XID in X | |
| getUShort | back to summary |
|---|---|
| pack-priv static int getUShort(long ptr) | |
| getUShortSize | back to summary |
|---|---|
| pack-priv static int getUShortSize() Access to C unsigned short data(two bytes) | |
| getWindow | back to summary |
|---|---|
| pack-priv static long getWindow(long ptr) | |
| getWindow | back to summary |
|---|---|
| pack-priv static long getWindow(long ptr, int index) | |
| getWindowSize | back to summary |
|---|---|
| pack-priv static int getWindowSize() Set of function to return sizes of C data of the appropriate type. | |
| put | back to summary |
|---|---|
| pack-priv static void put(long ptr, long[] arr) Stores Java long[] array into memory. Memory location is treated as array
of native | |
| putBool | back to summary |
|---|---|
| pack-priv static void putBool(long ptr, boolean data) | |
| putBool | back to summary |
|---|---|
| pack-priv static void putBool(long ptr, int index, boolean data) | |
| putByte | back to summary |
|---|---|
| pack-priv static void putByte(long ptr, byte data) Stores to C byte data(one byte) | |
| putByte | back to summary |
|---|---|
| pack-priv static void putByte(long ptr, int index, byte data) | |
| putCard32 | back to summary |
|---|---|
| pack-priv static void putCard32(long ptr, long value) | |
| putCard32 | back to summary |
|---|---|
| pack-priv static void putCard32(long ptr, int index, long value) | |
| putInt | back to summary |
|---|---|
| pack-priv static void putInt(long ptr, int data) Stores to C int data(four bytes) | |
| putInt | back to summary |
|---|---|
| pack-priv static void putInt(long ptr, int index, int data) | |
| putLong | back to summary |
|---|---|
| pack-priv static void putLong(long ptr, long data) Stores to C long data(four bytes)
Note: | |
| putLong | back to summary |
|---|---|
| pack-priv static void putLong(long ptr, int index, long data) | |
| putLong | back to summary |
|---|---|
| pack-priv static void putLong(long ptr, Vector<Long> arr) Stores Java Vector of Longs into memory. Memory location is treated as array
of native | |
| putLongReverse | back to summary |
|---|---|
| pack-priv static void putLongReverse(long ptr, Vector<Long> arr) Stores Java Vector of Longs into memory. Memory location is treated as array
of native | |
| putShort | back to summary |
|---|---|
| pack-priv static void putShort(long ptr, short data) Stores to C short data(two bytes) | |
| putShort | back to summary |
|---|---|
| pack-priv static void putShort(long ptr, int index, short data) | |
| putUByte | back to summary |
|---|---|
| pack-priv static void putUByte(long ptr, short data) Stores to C unsigned byte data(one byte) | |
| putUByte | back to summary |
|---|---|
| pack-priv static void putUByte(long ptr, int index, short data) | |
| putUInt | back to summary |
|---|---|
| pack-priv static void putUInt(long ptr, long data) Stores to C unsigned int data(four bytes) | |
| putUInt | back to summary |
|---|---|
| pack-priv static void putUInt(long ptr, int index, long data) | |
| putULong | back to summary |
|---|---|
| pack-priv static void putULong(long ptr, long value) | |
| putUShort | back to summary |
|---|---|
| pack-priv static void putUShort(long ptr, int data) Stores to C unsigned short data(two bytes) | |
| putUShort | back to summary |
|---|---|
| pack-priv static void putUShort(long ptr, int index, int data) | |
| putWindow | back to summary |
|---|---|
| pack-priv static void putWindow(long ptr, long window) | |
| putWindow | back to summary |
|---|---|
| pack-priv static void putWindow(long ptr, int index, long window) | |
| toBytes | back to summary |
|---|---|
| pack-priv static byte[] toBytes(long data, int length) Converts length bytes of data pointed by
| |
| toData | back to summary |
|---|---|
| pack-priv static long toData(byte[] bytes) Stores byte array into native memory and returns pointer to this memory Returns 0 if bytes is null | |
| toData | back to summary |
|---|---|
| pack-priv static long toData(short[] shorts) | |
| toData | back to summary |
|---|---|
| pack-priv static long toData(int[] ints) | |
| toData | back to summary |
|---|---|
| pack-priv static long toData(long[] longs) | |
| toLongs | back to summary |
|---|---|
| pack-priv static long[] toLongs(long data, int length) Converts length bytes of data pointed by
| |
| toUBytes | back to summary |
|---|---|
| pack-priv static short[] toUBytes(long data, int length) Converts length unsigned bytes of data pointed by
| |
| toUData | back to summary |
|---|---|
| pack-priv static long toUData(short[] bytes) Stores short array as unsigned bytes into native memory and returns pointer to this memory Returns 0 if bytes is null | |
| toUData | back to summary |
|---|---|
| pack-priv static long toUData(int[] shorts) Stores int array as unsigned shorts into native memory and returns pointer to this memory Returns 0 if bytes is null | |
| toUData | back to summary |
|---|---|
| pack-priv static long toUData(long[] ints) Stores long array as unsigned intss into native memory and returns pointer to this memory Returns 0 if bytes is null | |