org.endurox.TypedCarray Class Reference

List of all members.

Public Member Functions

 TypedCarray (AtmiCtx ctx, boolean doFinalize, long cPtr, long len)
native void setBytes (byte[] b)
native byte[] getBytes ()

Detailed Description

C Byte array buffer. The length handling strategy is following:


Constructor & Destructor Documentation

org.endurox.TypedCarray.TypedCarray ( AtmiCtx  ctx,
boolean  doFinalize,
long  cPtr,
long  len 
)

Initialize Carray buffer

Parameters:
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

Member Function Documentation

native byte [] org.endurox.TypedCarray.getBytes (  ) 

Get C array value

Returns:
Byte array
native void org.endurox.TypedCarray.setBytes ( byte[]  b  ) 

Set C byte array value

Parameters:
b byte array to set value
 All Classes Namespaces Files Functions Variables

Generated on 29 Jan 2022 for endurox-java by  doxygen 1.6.1