Package org.zvec.binding
Class ZvecNative.zvec_string_view_t
java.lang.Object
org.bytedeco.javacpp.Pointer
org.zvec.binding.ZvecNative.zvec_string_view_t
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
ZvecNative
public static class ZvecNative.zvec_string_view_t
extends org.bytedeco.javacpp.Pointer
String view structure (does not own memory)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
org.bytedeco.javacpp.Pointer.CustomDeallocator, org.bytedeco.javacpp.Pointer.Deallocator, org.bytedeco.javacpp.Pointer.NativeDeallocator, org.bytedeco.javacpp.Pointer.ReferenceCounter -
Field Summary
Fields inherited from class org.bytedeco.javacpp.Pointer
address, capacity, limit, position -
Constructor Summary
ConstructorsConstructorDescriptionDefault native constructor.zvec_string_view_t(long size) Native array allocator.zvec_string_view_t(org.bytedeco.javacpp.Pointer p) Pointer cast constructor. -
Method Summary
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
Constructor Details
-
zvec_string_view_t
public zvec_string_view_t()Default native constructor. -
zvec_string_view_t
public zvec_string_view_t(long size) Native array allocator. Access withPointer.position(long). -
zvec_string_view_t
public zvec_string_view_t(org.bytedeco.javacpp.Pointer p) Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Details
-
position
- Overrides:
positionin classorg.bytedeco.javacpp.Pointer
-
getPointer
- Overrides:
getPointerin classorg.bytedeco.javacpp.Pointer
-
data
@Cast("const char*") public org.bytedeco.javacpp.BytePointer data()String data pointer -
data
-
length
@Cast("size_t") public long length()String length -
length
-