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 |
---|---|
CharPointer |
CharPointer.capacity(long capacity) |
CharPointer |
CharPointer.get(char[] array) |
CharPointer |
CharPointer.get(char[] array,
int offset,
int length)
Reads a portion of the native array into a Java array.
|
CharPointer |
CharPointer.limit(long limit) |
CharPointer |
CharPointer.position(long position) |
CharPointer |
CharPointer.put(char... array) |
CharPointer |
CharPointer.put(char c) |
CharPointer |
CharPointer.put(char[] array,
int offset,
int length)
Writes a portion of a Java array into the native array.
|
CharPointer |
CharPointer.put(long i,
char c)
Copies the
char value to the i-th element of a native array. |
CharPointer |
CharPointer.putString(String s)
Copies the String chars into native memory, including a terminating null char.
|
Modifier and Type | Field and Description |
---|---|
protected CharPointer |
CharRawIndexer.pointer
The backing pointer.
|
Modifier and Type | Method and Description |
---|---|
static CharIndexer |
CharIndexer.create(CharPointer pointer)
Returns
create(pointer, { pointer.limit() - pointer.position() }, { 1 }, true) |
static CharIndexer |
CharIndexer.create(CharPointer pointer,
long... sizes)
Returns
create(pointer, sizes, strides(sizes)) |
static CharIndexer |
CharIndexer.create(CharPointer pointer,
long[] sizes,
long[] strides)
Returns
create(pointer, sizes, strides, true) |
static CharIndexer |
CharIndexer.create(CharPointer pointer,
long[] sizes,
long[] strides,
boolean direct)
Creates a char indexer to access efficiently the data of a pointer.
|
Constructor and Description |
---|
CharRawIndexer(CharPointer pointer)
Calls
CharRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }) . |
CharRawIndexer(CharPointer pointer,
long... sizes)
Calls
CharRawIndexer(pointer, sizes, strides(sizes)) . |
CharRawIndexer(CharPointer pointer,
long[] sizes,
long[] strides)
|
Copyright © 2020. All rights reserved.