public class UByteRawIndexer extends UByteIndexer
BytePointer using the Raw instance, treated as unsigned.Indexer.Index| Modifier and Type | Field and Description |
|---|---|
protected BytePointer |
pointer
The backing pointer.
|
protected static org.bytedeco.javacpp.indexer.Raw |
RAW
The instance for the raw memory interface.
|
VALUE_BYTES| Constructor and Description |
|---|
UByteRawIndexer(BytePointer pointer)
Calls
UByteRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }). |
UByteRawIndexer(BytePointer pointer,
long... sizes)
Calls
UByteRawIndexer(pointer, sizes, strides(sizes)). |
UByteRawIndexer(BytePointer pointer,
long[] sizes,
long[] strides)
|
| Modifier and Type | Method and Description |
|---|---|
int |
get(long... indices)
Returns
array/buffer[index(indices)] |
int |
get(long i)
Returns
array/buffer[index(i)] |
UByteIndexer |
get(long[] indices,
int[] b,
int offset,
int length)
Returns
this where b[offset:offset + length] = array/buffer[index(indices)] |
UByteIndexer |
get(long i,
int[] b,
int offset,
int length)
Returns
this where b[offset:offset + length] = array/buffer[index(i)] |
int |
get(long i,
long j)
Returns
array/buffer[index(i, j)] |
UByteIndexer |
get(long i,
long j,
int[] b,
int offset,
int length)
Returns
this where b[offset:offset + length] = array/buffer[index(i, j)] |
int |
get(long i,
long j,
long k)
Returns
array/buffer[index(i, j, k)] |
int |
getRaw(long i) |
Pointer |
pointer()
Returns the backing pointer, or
null if none |
UByteIndexer |
put(long[] indices,
int b)
Returns
this where array/buffer[index(indices)] = b |
UByteIndexer |
put(long[] indices,
int[] b,
int offset,
int length)
Returns
this where array/buffer[index(indices)] = b[offset:offset + length] |
UByteIndexer |
put(long i,
int b)
Returns
this where array/buffer[index(i)] = b |
UByteIndexer |
put(long i,
int[] b,
int offset,
int length)
Returns
this where array/buffer[index(i)] = b[offset:offset + length] |
UByteIndexer |
put(long i,
long j,
int b)
Returns
this where array/buffer[index(i, j)] = b |
UByteIndexer |
put(long i,
long j,
int[] b,
int offset,
int length)
Returns
this where array/buffer[index(i, j)] = b[offset:offset + length] |
UByteIndexer |
put(long i,
long j,
long k,
int b)
Returns
this where array/buffer[index(i, j, k)] = b |
UByteIndexer |
putRaw(long i,
int b) |
void |
release()
Makes sure changes are reflected onto the backing memory and clears any references.
|
create, create, create, create, create, create, create, create, create, create, get, get, get, getDouble, put, put, put, putDoubleprotected static final org.bytedeco.javacpp.indexer.Raw RAW
protected BytePointer pointer
public UByteRawIndexer(BytePointer pointer)
UByteRawIndexer(pointer, { pointer.limit() - pointer.position() }, { 1 }).public UByteRawIndexer(BytePointer pointer, long... sizes)
UByteRawIndexer(pointer, sizes, strides(sizes)).public UByteRawIndexer(BytePointer pointer, long[] sizes, long[] strides)
public Pointer pointer()
Indexernull if nonepublic int getRaw(long i)
public int get(long i)
UByteIndexerarray/buffer[index(i)]get in class UByteIndexerpublic UByteIndexer get(long i, int[] b, int offset, int length)
UByteIndexerthis where b[offset:offset + length] = array/buffer[index(i)]get in class UByteIndexerpublic int get(long i,
long j)
UByteIndexerarray/buffer[index(i, j)]get in class UByteIndexerpublic UByteIndexer get(long i, long j, int[] b, int offset, int length)
UByteIndexerthis where b[offset:offset + length] = array/buffer[index(i, j)]get in class UByteIndexerpublic int get(long i,
long j,
long k)
UByteIndexerarray/buffer[index(i, j, k)]get in class UByteIndexerpublic int get(long... indices)
UByteIndexerarray/buffer[index(indices)]get in class UByteIndexerpublic UByteIndexer get(long[] indices, int[] b, int offset, int length)
UByteIndexerthis where b[offset:offset + length] = array/buffer[index(indices)]get in class UByteIndexerpublic UByteIndexer putRaw(long i, int b)
public UByteIndexer put(long i, int b)
UByteIndexerthis where array/buffer[index(i)] = bput in class UByteIndexerpublic UByteIndexer put(long i, int[] b, int offset, int length)
UByteIndexerthis where array/buffer[index(i)] = b[offset:offset + length]put in class UByteIndexerpublic UByteIndexer put(long i, long j, int b)
UByteIndexerthis where array/buffer[index(i, j)] = bput in class UByteIndexerpublic UByteIndexer put(long i, long j, int[] b, int offset, int length)
UByteIndexerthis where array/buffer[index(i, j)] = b[offset:offset + length]put in class UByteIndexerpublic UByteIndexer put(long i, long j, long k, int b)
UByteIndexerthis where array/buffer[index(i, j, k)] = bput in class UByteIndexerpublic UByteIndexer put(long[] indices, int b)
UByteIndexerthis where array/buffer[index(indices)] = bput in class UByteIndexerpublic UByteIndexer put(long[] indices, int[] b, int offset, int length)
UByteIndexerthis where array/buffer[index(indices)] = b[offset:offset + length]put in class UByteIndexer