Package org.bytedeco.tesseract
Class UNICHAR
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.tesseract.UNICHAR
-
- All Implemented Interfaces:
AutoCloseable
@Namespace("tesseract") @NoOffset @Properties(inherit=tesseract.class) public class UNICHAR extends Pointer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUNICHAR.const_iterator-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UNICHAR.const_iteratorbegin(String utf8_str, int byte_length)static UNICHAR.const_iteratorbegin(BytePointer utf8_str, int byte_length)static UNICHAR.const_iteratorend(String utf8_str, int byte_length)static UNICHAR.const_iteratorend(BytePointer utf8_str, int byte_length)intfirst_uni()static BytePointerUTF32ToUTF8(int[] str32)static StringUTF32ToUTF8(IntBuffer str32)static BytePointerUTF32ToUTF8(IntPointer str32)BytePointerutf8()intutf8_len()static intutf8_step(String utf8_str)static intutf8_step(BytePointer utf8_str)BytePointerutf8_str()static IntBufferUTF8ToUTF32(String utf8_str)static IntPointerUTF8ToUTF32(BytePointer utf8_str)-
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, toString, totalBytes, totalCount, totalPhysicalBytes, trimMemory, withDeallocator, zero
-
-
-
-
Constructor Detail
-
UNICHAR
public UNICHAR(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
UNICHAR
public UNICHAR()
-
UNICHAR
public UNICHAR(@Cast("const char*") BytePointer utf8_str, int len)
-
UNICHAR
public UNICHAR(String utf8_str, int len)
-
UNICHAR
public UNICHAR(int unicode)
-
-
Method Detail
-
first_uni
public int first_uni()
-
utf8_len
public int utf8_len()
-
utf8
@Cast("const char*") public BytePointer utf8()
-
utf8_str
@Cast("char*") public BytePointer utf8_str()
-
utf8_step
public static int utf8_step(@Cast("const char*") BytePointer utf8_str)
-
utf8_step
public static int utf8_step(String utf8_str)
-
begin
@ByVal public static UNICHAR.const_iterator begin(@Cast("const char*") BytePointer utf8_str, int byte_length)
-
begin
@ByVal public static UNICHAR.const_iterator begin(String utf8_str, int byte_length)
-
end
@ByVal public static UNICHAR.const_iterator end(@Cast("const char*") BytePointer utf8_str, int byte_length)
-
end
@ByVal public static UNICHAR.const_iterator end(String utf8_str, int byte_length)
-
UTF8ToUTF32
@Cast("tesseract::char32*") @StdVector public static IntPointer UTF8ToUTF32(@Cast("const char*") BytePointer utf8_str)
-
UTF8ToUTF32
@Cast("tesseract::char32*") @StdVector public static IntBuffer UTF8ToUTF32(String utf8_str)
-
UTF32ToUTF8
@StdString public static BytePointer UTF32ToUTF8(@Cast("tesseract::char32*") @StdVector IntPointer str32)
-
UTF32ToUTF8
@StdString public static String UTF32ToUTF8(@Cast("tesseract::char32*") @StdVector IntBuffer str32)
-
UTF32ToUTF8
@StdString public static BytePointer UTF32ToUTF8(@Cast("tesseract::char32*") @StdVector int[] str32)
-
-