Uses of Class
org.bytedeco.javacpp.BytePointer
Packages that use BytePointer
Package
Description
Contains the main set of classes for JavaCPP at runtime.
Contains classes for multidimensional access of arrays and buffers.
-
Uses of BytePointer in org.bytedeco.javacpp
Methods in org.bytedeco.javacpp that return BytePointerModifier and TypeMethodDescriptionBytePointer.capacity
(long capacity) BytePointer.get
(byte[] array) BytePointer.get
(byte[] array, int offset, int length) Reads a portion of the native array into a Java array.BytePointer.getPointer
(long i) BytePointer.limit
(long limit) BytePointer.position
(long position) BytePointer.put
(byte b) BytePointer.put
(byte... array) BytePointer.put
(byte[] array, int offset, int length) Writes a portion of a Java array into the native array.BytePointer.put
(long i, byte b) Copies thebyte
value to the i-th element of a native array.BytePointer.putBool
(boolean b) ReturnsputBool(0, s)
.BytePointer.putBool
(long i, boolean b) Sets thebool
value at the i-thbyte
in the native array.BytePointer.putChar
(char c) ReturnsputChar(0, s)
.BytePointer.putChar
(long i, char c) Sets thechar
value at the i-thbyte
in the native array.BytePointer.putDouble
(double d) ReturnsputDouble(0, s)
.BytePointer.putDouble
(long i, double d) Sets thedouble
value at the i-thbyte
in the native array.BytePointer.putFloat
(float f) ReturnsputFloat(0, s)
.BytePointer.putFloat
(long i, float f) Sets thefloat
value at the i-thbyte
in the native array.BytePointer.putInt
(int j) ReturnsputInt(0, s)
.BytePointer.putInt
(long i, int j) Sets theint
value at the i-thbyte
in the native array.BytePointer.putLong
(long j) ReturnsputLong(0, s)
.BytePointer.putLong
(long i, long j) Sets thelong
value at the i-thbyte
in the native array.BytePointer.putPointerValue
(long i, Pointer p) Sets thePointer
value at the i-thbyte
in the native array.BytePointer.putPointerValue
(Pointer p) ReturnsputPointerValue(0, s)
.BytePointer.putShort
(long i, short s) Sets theshort
value at the i-thbyte
in the native array.BytePointer.putShort
(short s) ReturnsputShort(0, s)
.Encodes the String into the platform's default charset and copies it in native memory, including a terminating null byte.Encodes the String into the named charset and copies it in native memory, including a terminating null byte.Encodes the String into the given charset and copies it in native memory, including a terminating null byte.BytePointer.putUnsigned
(int b) ReturnsputUnsigned(0, b)
.BytePointer.putUnsigned
(long i, int b) Sets thebyte
value at the i-thbyte
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) Methods in org.bytedeco.javacpp with parameters of type BytePointerModifier and TypeMethodDescriptionstatic 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) -
Uses of BytePointer in org.bytedeco.javacpp.indexer
Fields in org.bytedeco.javacpp.indexer declared as BytePointerModifier and TypeFieldDescriptionprotected BytePointer
ByteRawIndexer.pointer
The backing pointer.protected BytePointer
UByteRawIndexer.pointer
The backing pointer.Methods in org.bytedeco.javacpp.indexer with parameters of type BytePointerModifier and TypeMethodDescriptionstatic ByteIndexer
ByteIndexer.create
(BytePointer pointer) Returnsnew ByteRawIndexer(pointer)
static ByteIndexer
ByteIndexer.create
(BytePointer pointer, long... sizes) Returnsnew ByteRawIndexer(pointer, index)
static ByteIndexer
ByteIndexer.create
(BytePointer pointer, long[] sizes, long[] strides) Returnsnew ByteRawIndexer(pointer, sizes, strides)
static ByteIndexer
ByteIndexer.create
(BytePointer pointer, long[] sizes, long[] strides, boolean direct) Returnscreate(pointer, Index.create(sizes, strides), direct)
static ByteIndexer
ByteIndexer.create
(BytePointer pointer, Index index) Returnsnew ByteRawIndexer(pointer, index)
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) Returnsnew UByteRawIndexer(pointer)
static UByteIndexer
UByteIndexer.create
(BytePointer pointer, long... sizes) Returnsnew UByteRawIndexer(pointer, index)
static UByteIndexer
UByteIndexer.create
(BytePointer pointer, long[] sizes, long[] strides) Returnsnew UByteRawIndexer(pointer, sizes, strides)
static UByteIndexer
UByteIndexer.create
(BytePointer pointer, long[] sizes, long[] strides, boolean direct) Returnscreate(pointer, Index.create(sizes, strides), direct)
static UByteIndexer
UByteIndexer.create
(BytePointer pointer, Index index) Returnsnew UByteRawIndexer(pointer, index)
static UByteIndexer
UByteIndexer.create
(BytePointer pointer, Index index, boolean direct) Creates a byte indexer to access efficiently the data of a pointer.Constructors in org.bytedeco.javacpp.indexer with parameters of type BytePointerModifierConstructorDescriptionByteRawIndexer
(BytePointer pointer) CallsByteRawIndexer(pointer, Index.create(pointer.limit() - pointer.position()))
.ByteRawIndexer
(BytePointer pointer, long... sizes) CallsByteRawIndexer(pointer, Index.create(sizes))
.ByteRawIndexer
(BytePointer pointer, long[] sizes, long[] strides) CallsByteRawIndexer(pointer, Index.create(sizes, strides))
.ByteRawIndexer
(BytePointer pointer, Index index) Constructor to set theByteRawIndexer.pointer
andIndexer.index
.UByteRawIndexer
(BytePointer pointer) CallsUByteRawIndexer(pointer, Index.create(pointer.limit() - pointer.position()))
.UByteRawIndexer
(BytePointer pointer, long... sizes) CallsUByteRawIndexer(pointer, Index.create(sizes))
.UByteRawIndexer
(BytePointer pointer, long[] sizes, long[] strides) CallsUByteRawIndexer(pointer, Index.create(sizes, strides))
.UByteRawIndexer
(BytePointer pointer, Index index) Constructor to set theUByteRawIndexer.pointer
andIndexer.index
.