Package org.bytedeco.leptonica
Class L_BBUFFER
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.L_BBUFFER
- All Implemented Interfaces:
AutoCloseable
Expandable byte buffer for memory read/write operations
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionarray()
byte arrayarray
(BytePointer setter) getPointer
(long i) int
n()
number of bytes read into to the arrayn
(int setter) int
nalloc()
size of allocated byte arraynalloc
(int setter) int
nwritten()
number of bytes written from the arraynwritten
(int 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
-
Constructor Details
-
L_BBUFFER
public L_BBUFFER()Default native constructor. -
L_BBUFFER
public L_BBUFFER(long size) Native array allocator. Access withPointer.position(long)
. -
L_BBUFFER
Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointer
in classPointer
-
nalloc
size of allocated byte array -
nalloc
-
n
number of bytes read into to the array -
n
-
nwritten
number of bytes written from the array -
nwritten
-
array
byte array -
array
-