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 thebytevalue to the i-th element of a native array.BytePointer.putBool(boolean b) ReturnsputBool(0, s).BytePointer.putBool(long i, boolean b) Sets theboolvalue at the i-thbytein the native array.BytePointer.putChar(char c) ReturnsputChar(0, s).BytePointer.putChar(long i, char c) Sets thecharvalue at the i-thbytein the native array.BytePointer.putDouble(double d) ReturnsputDouble(0, s).BytePointer.putDouble(long i, double d) Sets thedoublevalue at the i-thbytein the native array.BytePointer.putFloat(float f) ReturnsputFloat(0, s).BytePointer.putFloat(long i, float f) Sets thefloatvalue at the i-thbytein the native array.BytePointer.putInt(int j) ReturnsputInt(0, s).BytePointer.putInt(long i, int j) Sets theintvalue at the i-thbytein the native array.BytePointer.putLong(long j) ReturnsputLong(0, s).BytePointer.putLong(long i, long j) Sets thelongvalue at the i-thbytein the native array.BytePointer.putPointerValue(long i, Pointer p) Sets thePointervalue at the i-thbytein the native array.BytePointer.putPointerValue(Pointer p) ReturnsputPointerValue(0, s).BytePointer.putShort(long i, short s) Sets theshortvalue at the i-thbytein 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 thebytevalue at the i-thbytein the native array, treated as unsigned.static BytePointerBytePointer.strcat(BytePointer dst, BytePointer src) static BytePointerBytePointer.strchr(BytePointer str, int ch) static BytePointerBytePointer.strcpy(BytePointer dst, BytePointer src) static BytePointerBytePointer.strerror(int errnum) static BytePointerBytePointer.strncat(BytePointer dst, BytePointer src, long n) static BytePointerBytePointer.strncpy(BytePointer dst, BytePointer src, long n) static BytePointerBytePointer.strpbrk(BytePointer str1, BytePointer str2) static BytePointerBytePointer.strrchr(BytePointer str, int ch) static BytePointerBytePointer.strstr(BytePointer str1, BytePointer str2) static BytePointerBytePointer.strtok(BytePointer str, BytePointer delim) Methods in org.bytedeco.javacpp with parameters of type BytePointerModifier and TypeMethodDescriptionstatic BytePointerBytePointer.strcat(BytePointer dst, BytePointer src) static BytePointerBytePointer.strchr(BytePointer str, int ch) static intBytePointer.strcmp(BytePointer str1, BytePointer str2) static intBytePointer.strcoll(BytePointer str1, BytePointer str2) static BytePointerBytePointer.strcpy(BytePointer dst, BytePointer src) static longBytePointer.strcspn(BytePointer str1, BytePointer str2) static longBytePointer.strlen(BytePointer str) static BytePointerBytePointer.strncat(BytePointer dst, BytePointer src, long n) static intBytePointer.strncmp(BytePointer str1, BytePointer str2, long n) static BytePointerBytePointer.strncpy(BytePointer dst, BytePointer src, long n) static BytePointerBytePointer.strpbrk(BytePointer str1, BytePointer str2) static BytePointerBytePointer.strrchr(BytePointer str, int ch) static longBytePointer.strspn(BytePointer str1, BytePointer str2) static BytePointerBytePointer.strstr(BytePointer str1, BytePointer str2) static BytePointerBytePointer.strtok(BytePointer str, BytePointer delim) static longBytePointer.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 BytePointerByteRawIndexer.pointerThe backing pointer.protected BytePointerUByteRawIndexer.pointerThe backing pointer.Methods in org.bytedeco.javacpp.indexer with parameters of type BytePointerModifier and TypeMethodDescriptionstatic ByteIndexerByteIndexer.create(BytePointer pointer) Returnsnew ByteRawIndexer(pointer)static ByteIndexerByteIndexer.create(BytePointer pointer, long... sizes) Returnsnew ByteRawIndexer(pointer, index)static ByteIndexerByteIndexer.create(BytePointer pointer, long[] sizes, long[] strides) Returnsnew ByteRawIndexer(pointer, sizes, strides)static ByteIndexerByteIndexer.create(BytePointer pointer, long[] sizes, long[] strides, boolean direct) Returnscreate(pointer, Index.create(sizes, strides), direct)static ByteIndexerByteIndexer.create(BytePointer pointer, Index index) Returnsnew ByteRawIndexer(pointer, index)static ByteIndexerByteIndexer.create(BytePointer pointer, Index index, boolean direct) Creates a byte indexer to access efficiently the data of a pointer.static UByteIndexerUByteIndexer.create(BytePointer pointer) Returnsnew UByteRawIndexer(pointer)static UByteIndexerUByteIndexer.create(BytePointer pointer, long... sizes) Returnsnew UByteRawIndexer(pointer, index)static UByteIndexerUByteIndexer.create(BytePointer pointer, long[] sizes, long[] strides) Returnsnew UByteRawIndexer(pointer, sizes, strides)static UByteIndexerUByteIndexer.create(BytePointer pointer, long[] sizes, long[] strides, boolean direct) Returnscreate(pointer, Index.create(sizes, strides), direct)static UByteIndexerUByteIndexer.create(BytePointer pointer, Index index) Returnsnew UByteRawIndexer(pointer, index)static UByteIndexerUByteIndexer.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.pointerandIndexer.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.pointerandIndexer.index.