Package | Description |
---|---|
org.bytedeco.javacpp |
Contains the main set of classes for JavaCPP at runtime.
|
org.bytedeco.javacpp.indexer |
Contains classes for multidimensional access of arrays and buffers.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
BytePointer.capacity(long capacity) |
BytePointer |
BytePointer.get(byte[] array) |
BytePointer |
BytePointer.get(byte[] array,
int offset,
int length)
Reads a portion of the native array into a Java array.
|
BytePointer |
BytePointer.getPointer(long i) |
BytePointer |
BytePointer.limit(long limit) |
BytePointer |
BytePointer.position(long position) |
BytePointer |
BytePointer.put(byte... array) |
BytePointer |
BytePointer.put(byte b) |
BytePointer |
BytePointer.put(byte[] array,
int offset,
int length)
Writes a portion of a Java array into the native array.
|
BytePointer |
BytePointer.put(long i,
byte b)
Copies the
byte value to the i-th element of a native array. |
BytePointer |
BytePointer.putBool(boolean b)
Returns
putBool(0, s) . |
BytePointer |
BytePointer.putBool(long i,
boolean b)
Sets the
bool value at the i-th byte in the native array. |
BytePointer |
BytePointer.putChar(char c)
Returns
putChar(0, s) . |
BytePointer |
BytePointer.putChar(long i,
char c)
Sets the
char value at the i-th byte in the native array. |
BytePointer |
BytePointer.putDouble(double d)
Returns
putDouble(0, s) . |
BytePointer |
BytePointer.putDouble(long i,
double d)
Sets the
double value at the i-th byte in the native array. |
BytePointer |
BytePointer.putFloat(float f)
Returns
putFloat(0, s) . |
BytePointer |
BytePointer.putFloat(long i,
float f)
Sets the
float value at the i-th byte in the native array. |
BytePointer |
BytePointer.putInt(int j)
Returns
putInt(0, s) . |
BytePointer |
BytePointer.putInt(long i,
int j)
Sets the
int value at the i-th byte in the native array. |
BytePointer |
BytePointer.putLong(long j)
Returns
putLong(0, s) . |
BytePointer |
BytePointer.putLong(long i,
long j)
Sets the
long value at the i-th byte in the native array. |
BytePointer |
BytePointer.putPointerValue(long i,
Pointer p)
Sets the
Pointer value at the i-th byte in the native array. |
BytePointer |
BytePointer.putPointerValue(Pointer p)
Returns
putPointerValue(0, s) . |
BytePointer |
BytePointer.putShort(long i,
short s)
Sets the
short value at the i-th byte in the native array. |
BytePointer |
BytePointer.putShort(short s)
Returns
putShort(0, s) . |
BytePointer |
BytePointer.putString(String s)
Encodes the String into the platform's default charset and copies it in
native memory, including a terminating null byte.
|
BytePointer |
BytePointer.putString(String s,
Charset charset)
Encodes the String into the given charset and copies it in native memory,
including a terminating null byte.
|
BytePointer |
BytePointer.putString(String s,
String charsetName)
Encodes the String into the named charset and copies it in native memory,
including a terminating null byte.
|
BytePointer |
BytePointer.putUnsigned(int b)
Returns
putUnsigned(0, b) . |
BytePointer |
BytePointer.putUnsigned(long i,
int b)
Sets the
byte value at the i-th byte in the native array, treated as unsigned. |
static BytePointer |
BytePointer.strcat(BytePointer dst,
BytePointer src) |
static BytePointer |
BytePointer.strchr(BytePointer str,
int ch) |
static BytePointer |
BytePointer.strcpy(BytePointer dst,
BytePointer src) |
static BytePointer |
BytePointer.strerror(int errnum) |
static BytePointer |
BytePointer.strncat(BytePointer dst,
BytePointer src,
long n) |
static BytePointer |
BytePointer.strncpy(BytePointer dst,
BytePointer src,
long n) |
static BytePointer |
BytePointer.strpbrk(BytePointer str1,
BytePointer str2) |
static BytePointer |
BytePointer.strrchr(BytePointer str,
int ch) |
static BytePointer |
BytePointer.strstr(BytePointer str1,
BytePointer str2) |
static BytePointer |
BytePointer.strtok(BytePointer str,
BytePointer delim) |
Modifier and Type | Method and Description |
---|---|
static BytePointer |
BytePointer.strcat(BytePointer dst,
BytePointer src) |
static BytePointer |
BytePointer.strchr(BytePointer str,
int ch) |
static int |
BytePointer.strcmp(BytePointer str1,
BytePointer str2) |
static int |
BytePointer.strcoll(BytePointer str1,
BytePointer str2) |
static BytePointer |
BytePointer.strcpy(BytePointer dst,
BytePointer src) |
static long |
BytePointer.strcspn(BytePointer str1,
BytePointer str2) |
static long |
BytePointer.strlen(BytePointer str) |
static BytePointer |
BytePointer.strncat(BytePointer dst,
BytePointer src,
long n) |
static int |
BytePointer.strncmp(BytePointer str1,
BytePointer str2,
long n) |
static BytePointer |
BytePointer.strncpy(BytePointer dst,
BytePointer src,
long n) |
static BytePointer |
BytePointer.strpbrk(BytePointer str1,
BytePointer str2) |
static BytePointer |
BytePointer.strrchr(BytePointer str,
int ch) |
static long |
BytePointer.strspn(BytePointer str1,
BytePointer str2) |
static BytePointer |
BytePointer.strstr(BytePointer str1,
BytePointer str2) |
static BytePointer |
BytePointer.strtok(BytePointer str,
BytePointer delim) |
static long |
BytePointer.strxfrm(BytePointer dst,
BytePointer src,
long n) |
Modifier and Type | Field and Description |
---|---|
protected BytePointer |
UByteRawIndexer.pointer
The backing pointer.
|
protected BytePointer |
ByteRawIndexer.pointer
The backing pointer.
|
Modifier and Type | Method and Description |
---|---|
static UByteIndexer |
UByteIndexer.create(BytePointer pointer)
Returns
new UByteRawIndexer(pointer) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer)
Returns
new ByteRawIndexer(pointer) |
static UByteIndexer |
UByteIndexer.create(BytePointer pointer,
Index index)
Returns
new UByteRawIndexer(pointer, index) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
Index index)
Returns
new ByteRawIndexer(pointer, index) |
static UByteIndexer |
UByteIndexer.create(BytePointer pointer,
Index index,
boolean direct)
Creates a byte indexer to access efficiently the data of a pointer.
|
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
Index index,
boolean direct)
Creates a byte indexer to access efficiently the data of a pointer.
|
static UByteIndexer |
UByteIndexer.create(BytePointer pointer,
long... sizes)
Returns
new UByteRawIndexer(pointer, index) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
long... sizes)
Returns
new ByteRawIndexer(pointer, index) |
static UByteIndexer |
UByteIndexer.create(BytePointer pointer,
long[] sizes,
long[] strides)
Returns
new UByteRawIndexer(pointer, sizes, strides) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
long[] sizes,
long[] strides)
Returns
new ByteRawIndexer(pointer, sizes, strides) |
static UByteIndexer |
UByteIndexer.create(BytePointer pointer,
long[] sizes,
long[] strides,
boolean direct)
Returns
create(pointer, Index.create(sizes, strides), direct) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
long[] sizes,
long[] strides,
boolean direct)
Returns
create(pointer, Index.create(sizes, strides), direct) |
Constructor and Description |
---|
ByteRawIndexer(BytePointer pointer)
Calls
ByteRawIndexer(pointer, Index.create(pointer.limit() - pointer.position())) . |
ByteRawIndexer(BytePointer pointer,
Index index)
Constructor to set the
ByteRawIndexer.pointer and Indexer.index . |
ByteRawIndexer(BytePointer pointer,
long... sizes)
Calls
ByteRawIndexer(pointer, Index.create(sizes)) . |
ByteRawIndexer(BytePointer pointer,
long[] sizes,
long[] strides)
Calls
ByteRawIndexer(pointer, Index.create(sizes, strides)) . |
UByteRawIndexer(BytePointer pointer)
Calls
UByteRawIndexer(pointer, Index.create(pointer.limit() - pointer.position())) . |
UByteRawIndexer(BytePointer pointer,
Index index)
Constructor to set the
UByteRawIndexer.pointer and Indexer.index . |
UByteRawIndexer(BytePointer pointer,
long... sizes)
Calls
UByteRawIndexer(pointer, Index.create(sizes)) . |
UByteRawIndexer(BytePointer pointer,
long[] sizes,
long[] strides)
Calls
UByteRawIndexer(pointer, Index.create(sizes, strides)) . |
Copyright © 2024. All rights reserved.