@Name(value="L_ByteBuffer") @Properties(inherit=leptonica.class) public class L_BBUFFER extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
L_BBUFFER()
Default native constructor.
|
L_BBUFFER(long size)
Native array allocator.
|
L_BBUFFER(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
array()
byte array
|
L_BBUFFER |
array(BytePointer setter) |
L_BBUFFER |
getPointer(long i) |
int |
n()
number of bytes read into to the array
|
L_BBUFFER |
n(int setter) |
int |
nalloc()
size of allocated byte array
|
L_BBUFFER |
nalloc(int setter) |
int |
nwritten()
number of bytes written from the array
|
L_BBUFFER |
nwritten(int setter) |
L_BBUFFER |
position(long position) |
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
public L_BBUFFER()
public L_BBUFFER(long size)
Pointer.position(long)
.public L_BBUFFER(Pointer p)
Pointer(Pointer)
.public L_BBUFFER getPointer(long i)
getPointer
in class Pointer
public L_BBUFFER nalloc(int setter)
public L_BBUFFER n(int setter)
public L_BBUFFER nwritten(int setter)
@Cast(value="l_uint8*") public BytePointer array()
public L_BBUFFER array(BytePointer setter)
Copyright © 2024. All rights reserved.