| 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(int 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.limit(int limit) |
BytePointer |
BytePointer.position(int 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(int i,
byte b)
Copies the
byte value to the i-th element of a native array. |
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,
String charsetName)
Encodes the String into the named charset and copies it in native memory,
including a terminating null byte.
|
| Modifier and Type | Method and Description |
|---|---|
static UByteIndexer |
UByteIndexer.create(BytePointer pointer,
int[] sizes,
int[] strides) |
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
int[] sizes,
int[] strides) |
static UByteIndexer |
UByteIndexer.create(BytePointer pointer,
int[] sizes,
int[] strides,
boolean direct)
Creates a byte indexer to access efficiently the data of a pointer.
|
static ByteIndexer |
ByteIndexer.create(BytePointer pointer,
int[] sizes,
int[] strides,
boolean direct)
Creates a byte indexer to access efficiently the data of a pointer.
|
Copyright © 2015. All Rights Reserved.