Class ZvecNative.zvec_byte_array_t

java.lang.Object
org.bytedeco.javacpp.Pointer
org.zvec.binding.ZvecNative.zvec_byte_array_t
All Implemented Interfaces:
AutoCloseable
Enclosing class:
ZvecNative

public static class ZvecNative.zvec_byte_array_t extends org.bytedeco.javacpp.Pointer
Byte array structure
  • 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

    Constructors
    Constructor
    Description
    Default native constructor.
    zvec_byte_array_t(long size)
    Native array allocator.
    zvec_byte_array_t(org.bytedeco.javacpp.Pointer p)
    Pointer cast constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bytedeco.javacpp.BytePointer
    Byte data pointer
    data(org.bytedeco.javacpp.BytePointer setter)
     
    getPointer(long i)
     
    long
    Array length
    length(long setter)
     
    position(long position)
     

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • zvec_byte_array_t

      public zvec_byte_array_t()
      Default native constructor.
    • zvec_byte_array_t

      public zvec_byte_array_t(long size)
      Native array allocator. Access with Pointer.position(long).
    • zvec_byte_array_t

      public zvec_byte_array_t(org.bytedeco.javacpp.Pointer p)
      Pointer cast constructor. Invokes Pointer(Pointer).
  • Method Details

    • position

      public ZvecNative.zvec_byte_array_t position(long position)
      Overrides:
      position in class org.bytedeco.javacpp.Pointer
    • getPointer

      public ZvecNative.zvec_byte_array_t getPointer(long i)
      Overrides:
      getPointer in class org.bytedeco.javacpp.Pointer
    • data

      @Cast("const uint8_t*") public org.bytedeco.javacpp.BytePointer data()
      Byte data pointer
    • data

      public ZvecNative.zvec_byte_array_t data(org.bytedeco.javacpp.BytePointer setter)
    • length

      @Cast("size_t") public long length()
      Array length
    • length

      public ZvecNative.zvec_byte_array_t length(long setter)