endurox-java
|
Public Member Functions | |
TypedCarray (AtmiCtx ctx, boolean doFinalize, long cPtr, long len) | |
native void | setBytes (byte[] b) |
native byte[] | getBytes () |
![]() | |
native void | tprealloc (long size) |
TypedBuffer (AtmiCtx ctx, boolean doFinalize, long cPtr, long len) | |
void | setAtmiCtx (AtmiCtx ctx) |
void | cleanup () |
void | setDoFinalize (boolean b) |
native TpTypesResult | tptypes () |
Additional Inherited Members | |
![]() | |
void | finalize () throws Throwable |
C Byte array buffer. The length handling strategy is following:
org.endurox.TypedCarray.TypedCarray | ( | AtmiCtx | ctx, |
boolean | doFinalize, | ||
long | cPtr, | ||
long | len | ||
) |
Initialize Carray buffer
ctx[in] | ATMI Context allocated this method |
doFinalize[in] | Should the buffer be deallocated automatically |
cPtr[in] | C pointer to allocated block |
len[in] | Conditional buffer length |
native byte [] org.endurox.TypedCarray.getBytes | ( | ) |
Get C array value
native void org.endurox.TypedCarray.setBytes | ( | byte[] | b | ) |
Set C byte array value
b | byte array to set value |