public class LibCString
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static long |
memcpy(byte[] dest,
byte[] src)
Array version of:
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
memcpy(java.nio.ByteBuffer dest,
java.nio.ByteBuffer src)
Copies bytes between memory areas that must not overlap.
|
static long |
memcpy(double[] dest,
double[] src)
Array version of:
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
memcpy(java.nio.DoubleBuffer dest,
java.nio.DoubleBuffer src)
Copies bytes between memory areas that must not overlap.
|
static long |
memcpy(float[] dest,
float[] src)
Array version of:
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
memcpy(java.nio.FloatBuffer dest,
java.nio.FloatBuffer src)
Copies bytes between memory areas that must not overlap.
|
static long |
memcpy(int[] dest,
int[] src)
Array version of:
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
memcpy(java.nio.IntBuffer dest,
java.nio.IntBuffer src)
Copies bytes between memory areas that must not overlap.
|
static long |
memcpy(long[] dest,
long[] src)
Array version of:
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
memcpy(java.nio.LongBuffer dest,
java.nio.LongBuffer src)
Copies bytes between memory areas that must not overlap.
|
static long |
memcpy(short[] dest,
short[] src)
Array version of:
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
memcpy(java.nio.ShortBuffer dest,
java.nio.ShortBuffer src)
Copies bytes between memory areas that must not overlap.
|
static <T extends org.lwjgl.system.CustomBuffer<T>> |
memcpy(T dest,
T src)
Copies bytes between memory areas that must not overlap.
|
static long |
memmove(byte[] dest,
byte[] src)
Array version of:
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
memmove(java.nio.ByteBuffer dest,
java.nio.ByteBuffer src)
Copies
count bytes from memory area src to memory area dest. |
static long |
memmove(double[] dest,
double[] src)
Array version of:
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
memmove(java.nio.DoubleBuffer dest,
java.nio.DoubleBuffer src)
Copies
count bytes from memory area src to memory area dest. |
static long |
memmove(float[] dest,
float[] src)
Array version of:
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
memmove(java.nio.FloatBuffer dest,
java.nio.FloatBuffer src)
Copies
count bytes from memory area src to memory area dest. |
static long |
memmove(int[] dest,
int[] src)
Array version of:
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
memmove(java.nio.IntBuffer dest,
java.nio.IntBuffer src)
Copies
count bytes from memory area src to memory area dest. |
static long |
memmove(long[] dest,
long[] src)
Array version of:
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
memmove(java.nio.LongBuffer dest,
java.nio.LongBuffer src)
Copies
count bytes from memory area src to memory area dest. |
static long |
memmove(short[] dest,
short[] src)
Array version of:
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
memmove(java.nio.ShortBuffer dest,
java.nio.ShortBuffer src)
Copies
count bytes from memory area src to memory area dest. |
static <T extends org.lwjgl.system.CustomBuffer<T>> |
memmove(T dest,
T src)
Copies
count bytes from memory area src to memory area dest. |
static long |
memset(byte[] dest,
int c)
Array version of:
memset(java.nio.ByteBuffer, int) |
static long |
memset(java.nio.ByteBuffer dest,
int c)
Fills a memory area with a constant byte.
|
static long |
memset(double[] dest,
int c)
Array version of:
memset(java.nio.ByteBuffer, int) |
static long |
memset(java.nio.DoubleBuffer dest,
int c)
Fills a memory area with a constant byte.
|
static long |
memset(float[] dest,
int c)
Array version of:
memset(java.nio.ByteBuffer, int) |
static long |
memset(java.nio.FloatBuffer dest,
int c)
Fills a memory area with a constant byte.
|
static long |
memset(int[] dest,
int c)
Array version of:
memset(java.nio.ByteBuffer, int) |
static long |
memset(java.nio.IntBuffer dest,
int c)
Fills a memory area with a constant byte.
|
static long |
memset(long[] dest,
int c)
Array version of:
memset(java.nio.ByteBuffer, int) |
static long |
memset(java.nio.LongBuffer dest,
int c)
Fills a memory area with a constant byte.
|
static long |
memset(short[] dest,
int c)
Array version of:
memset(java.nio.ByteBuffer, int) |
static long |
memset(java.nio.ShortBuffer dest,
int c)
Fills a memory area with a constant byte.
|
static <T extends org.lwjgl.system.CustomBuffer<T>> |
memset(T dest,
int c)
Fills memory with a constant byte.
|
static long |
nmemcpy(byte[] dest,
byte[] src,
long count)
Array version of:
nmemcpy(long, long, long) |
static long |
nmemcpy(double[] dest,
double[] src,
long count)
Array version of:
nmemcpy(long, long, long) |
static long |
nmemcpy(float[] dest,
float[] src,
long count)
Array version of:
nmemcpy(long, long, long) |
static long |
nmemcpy(int[] dest,
int[] src,
long count)
Array version of:
nmemcpy(long, long, long) |
static long |
nmemcpy(long[] dest,
long[] src,
long count)
Array version of:
nmemcpy(long, long, long) |
static long |
nmemcpy(long dest,
long src,
long count)
Unsafe version of:
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
nmemcpy(short[] dest,
short[] src,
long count)
Array version of:
nmemcpy(long, long, long) |
static long |
nmemmove(byte[] dest,
byte[] src,
long count)
Array version of:
nmemmove(long, long, long) |
static long |
nmemmove(double[] dest,
double[] src,
long count)
Array version of:
nmemmove(long, long, long) |
static long |
nmemmove(float[] dest,
float[] src,
long count)
Array version of:
nmemmove(long, long, long) |
static long |
nmemmove(int[] dest,
int[] src,
long count)
Array version of:
nmemmove(long, long, long) |
static long |
nmemmove(long[] dest,
long[] src,
long count)
Array version of:
nmemmove(long, long, long) |
static long |
nmemmove(long dest,
long src,
long count)
Unsafe version of:
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer) |
static long |
nmemmove(short[] dest,
short[] src,
long count)
Array version of:
nmemmove(long, long, long) |
static long |
nmemset(byte[] dest,
int c,
long count)
Array version of:
nmemset(long, int, long) |
static long |
nmemset(double[] dest,
int c,
long count)
Array version of:
nmemset(long, int, long) |
static long |
nmemset(float[] dest,
int c,
long count)
Array version of:
nmemset(long, int, long) |
static long |
nmemset(int[] dest,
int c,
long count)
Array version of:
nmemset(long, int, long) |
static long |
nmemset(long[] dest,
int c,
long count)
Array version of:
nmemset(long, int, long) |
static long |
nmemset(long dest,
int c,
long count)
Unsafe version of:
memset(java.nio.ByteBuffer, int) |
static long |
nmemset(short[] dest,
int c,
long count)
Array version of:
nmemset(long, int, long) |
public static long nmemset(long dest,
int c,
long count)
memset(java.nio.ByteBuffer, int)count - number of bytes to fillpublic static long memset(java.nio.ByteBuffer dest,
int c)
dest - pointer to the memory area to fillc - byte to setdestpublic static long memset(java.nio.ShortBuffer dest,
int c)
dest - pointer to the memory area to fillc - byte to setdestpublic static long memset(java.nio.IntBuffer dest,
int c)
dest - pointer to the memory area to fillc - byte to setdestpublic static long memset(java.nio.LongBuffer dest,
int c)
dest - pointer to the memory area to fillc - byte to setdestpublic static long memset(java.nio.FloatBuffer dest,
int c)
dest - pointer to the memory area to fillc - byte to setdestpublic static long memset(java.nio.DoubleBuffer dest,
int c)
dest - pointer to the memory area to fillc - byte to setdestpublic static long nmemcpy(long dest,
long src,
long count)
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer)count - the number of bytes to be copiedpublic static long memcpy(java.nio.ByteBuffer dest,
java.nio.ByteBuffer src)
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static long memcpy(java.nio.ShortBuffer dest,
java.nio.ShortBuffer src)
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static long memcpy(java.nio.IntBuffer dest,
java.nio.IntBuffer src)
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static long memcpy(java.nio.LongBuffer dest,
java.nio.LongBuffer src)
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static long memcpy(java.nio.FloatBuffer dest,
java.nio.FloatBuffer src)
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static long memcpy(java.nio.DoubleBuffer dest,
java.nio.DoubleBuffer src)
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static long nmemmove(long dest,
long src,
long count)
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer)count - the number of bytes to be copiedpublic static long memmove(java.nio.ByteBuffer dest,
java.nio.ByteBuffer src)
count bytes from memory area src to memory area dest.
The memory areas may overlap: copying takes place as though the bytes in src are first copied into a temporary array that does not overlap
src or dest, and the bytes are then copied from the temporary array to dest.
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static long memmove(java.nio.ShortBuffer dest,
java.nio.ShortBuffer src)
count bytes from memory area src to memory area dest.
The memory areas may overlap: copying takes place as though the bytes in src are first copied into a temporary array that does not overlap
src or dest, and the bytes are then copied from the temporary array to dest.
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static long memmove(java.nio.IntBuffer dest,
java.nio.IntBuffer src)
count bytes from memory area src to memory area dest.
The memory areas may overlap: copying takes place as though the bytes in src are first copied into a temporary array that does not overlap
src or dest, and the bytes are then copied from the temporary array to dest.
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static long memmove(java.nio.LongBuffer dest,
java.nio.LongBuffer src)
count bytes from memory area src to memory area dest.
The memory areas may overlap: copying takes place as though the bytes in src are first copied into a temporary array that does not overlap
src or dest, and the bytes are then copied from the temporary array to dest.
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static long memmove(java.nio.FloatBuffer dest,
java.nio.FloatBuffer src)
count bytes from memory area src to memory area dest.
The memory areas may overlap: copying takes place as though the bytes in src are first copied into a temporary array that does not overlap
src or dest, and the bytes are then copied from the temporary array to dest.
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static long memmove(java.nio.DoubleBuffer dest,
java.nio.DoubleBuffer src)
count bytes from memory area src to memory area dest.
The memory areas may overlap: copying takes place as though the bytes in src are first copied into a temporary array that does not overlap
src or dest, and the bytes are then copied from the temporary array to dest.
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static long nmemset(byte[] dest,
int c,
long count)
nmemset(long, int, long)public static long memset(byte[] dest,
int c)
memset(java.nio.ByteBuffer, int)public static long nmemset(short[] dest,
int c,
long count)
nmemset(long, int, long)public static long memset(short[] dest,
int c)
memset(java.nio.ByteBuffer, int)public static long nmemset(int[] dest,
int c,
long count)
nmemset(long, int, long)public static long memset(int[] dest,
int c)
memset(java.nio.ByteBuffer, int)public static long nmemset(long[] dest,
int c,
long count)
nmemset(long, int, long)public static long memset(long[] dest,
int c)
memset(java.nio.ByteBuffer, int)public static long nmemset(float[] dest,
int c,
long count)
nmemset(long, int, long)public static long memset(float[] dest,
int c)
memset(java.nio.ByteBuffer, int)public static long nmemset(double[] dest,
int c,
long count)
nmemset(long, int, long)public static long memset(double[] dest,
int c)
memset(java.nio.ByteBuffer, int)public static long nmemcpy(byte[] dest,
byte[] src,
long count)
nmemcpy(long, long, long)public static long memcpy(byte[] dest,
byte[] src)
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer)public static long nmemcpy(short[] dest,
short[] src,
long count)
nmemcpy(long, long, long)public static long memcpy(short[] dest,
short[] src)
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer)public static long nmemcpy(int[] dest,
int[] src,
long count)
nmemcpy(long, long, long)public static long memcpy(int[] dest,
int[] src)
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer)public static long nmemcpy(long[] dest,
long[] src,
long count)
nmemcpy(long, long, long)public static long memcpy(long[] dest,
long[] src)
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer)public static long nmemcpy(float[] dest,
float[] src,
long count)
nmemcpy(long, long, long)public static long memcpy(float[] dest,
float[] src)
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer)public static long nmemcpy(double[] dest,
double[] src,
long count)
nmemcpy(long, long, long)public static long memcpy(double[] dest,
double[] src)
memcpy(java.nio.ByteBuffer, java.nio.ByteBuffer)public static long nmemmove(byte[] dest,
byte[] src,
long count)
nmemmove(long, long, long)public static long memmove(byte[] dest,
byte[] src)
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer)public static long nmemmove(short[] dest,
short[] src,
long count)
nmemmove(long, long, long)public static long memmove(short[] dest,
short[] src)
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer)public static long nmemmove(int[] dest,
int[] src,
long count)
nmemmove(long, long, long)public static long memmove(int[] dest,
int[] src)
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer)public static long nmemmove(long[] dest,
long[] src,
long count)
nmemmove(long, long, long)public static long memmove(long[] dest,
long[] src)
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer)public static long nmemmove(float[] dest,
float[] src,
long count)
nmemmove(long, long, long)public static long memmove(float[] dest,
float[] src)
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer)public static long nmemmove(double[] dest,
double[] src,
long count)
nmemmove(long, long, long)public static long memmove(double[] dest,
double[] src)
memmove(java.nio.ByteBuffer, java.nio.ByteBuffer)public static <T extends org.lwjgl.system.CustomBuffer<T>> long memset(T dest,
int c)
dest - pointer to destinationc - character to setdestpublic static <T extends org.lwjgl.system.CustomBuffer<T>> long memcpy(T dest,
T src)
dest - pointer to the destination memory areasrc - pointer to the source memory areadestpublic static <T extends org.lwjgl.system.CustomBuffer<T>> long memmove(T dest,
T src)
count bytes from memory area src to memory area dest.
The memory areas may overlap: copying takes place as though the bytes in src are first copied into a temporary array that does not overlap
src or dest, and the bytes are then copied from the temporary array to dest.
dest - pointer to the destination memory areasrc - pointer to the source memory areadestCopyright LWJGL. All Rights Reserved. License terms.