Package org.zvec.binding
Class ZvecNative.zvec_string_t
java.lang.Object
org.bytedeco.javacpp.Pointer
org.zvec.binding.ZvecNative.zvec_string_t
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
ZvecNative
public static class ZvecNative.zvec_string_t
extends org.bytedeco.javacpp.Pointer
Mutable string structure (owns 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_t(long size) Native array allocator.zvec_string_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_t
public zvec_string_t()Default native constructor. -
zvec_string_t
public zvec_string_t(long size) Native array allocator. Access withPointer.position(long). -
zvec_string_t
public zvec_string_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("char*") public org.bytedeco.javacpp.BytePointer data()String data pointer -
data
-
length
@Cast("size_t") public long length()String length -
length
-
_capacity
@Cast("size_t") @Name("capacity") public long _capacity()Allocated capacity -
_capacity
-