Package org.bytedeco.tesseract
Class ByteVector
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.tesseract.ByteVector
-
- All Implemented Interfaces:
AutoCloseable
@Name("std::vector<char>") @Properties(inherit=tesseract.class) public class ByteVector extends Pointer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classByteVector.Iterator-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description ByteVector()ByteVector(byte value)ByteVector(byte... array)ByteVector(long n)ByteVector(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byteback()ByteVector.Iteratorbegin()voidclear()booleanempty()ByteVector.Iteratorend()ByteVector.Iteratorerase(ByteVector.Iterator pos)bytefront()byte[]get()byteget(long i)ByteVector.Iteratorinsert(ByteVector.Iterator pos, byte value)bytepop_back()ByteVectorpush_back(byte value)ByteVectorput(byte value)ByteVectorput(byte... array)ByteVectorput(long i, byte value)ByteVectorput(ByteVector x)voidresize(long n)longsize()StringtoString()-
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, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, totalBytes, totalCount, totalPhysicalBytes, trimMemory, withDeallocator, zero
-
-
-
-
Constructor Detail
-
ByteVector
public ByteVector(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
ByteVector
public ByteVector(byte value)
-
ByteVector
public ByteVector(byte... array)
-
ByteVector
public ByteVector()
-
ByteVector
public ByteVector(long n)
-
-
Method Detail
-
put
@Name("operator =") @ByRef public ByteVector put(@ByRef ByteVector x)
-
empty
public boolean empty()
-
size
public long size()
-
clear
public void clear()
-
resize
public void resize(@Cast("size_t") long n)
-
front
public byte front()
-
back
public byte back()
-
put
public ByteVector put(@Cast("size_t") long i, byte value)
-
insert
@ByVal public ByteVector.Iterator insert(@ByVal ByteVector.Iterator pos, @Cast("char") byte value)
-
erase
@ByVal public ByteVector.Iterator erase(@ByVal ByteVector.Iterator pos)
-
begin
@ByVal public ByteVector.Iterator begin()
-
end
@ByVal public ByteVector.Iterator end()
-
get
public byte[] get()
-
pop_back
public byte pop_back()
-
push_back
public ByteVector push_back(byte value)
-
put
public ByteVector put(byte value)
-
put
public ByteVector put(byte... array)
-
-