com.metaio.sdk.jni
Class ByteBuffer
java.lang.Object
com.metaio.sdk.jni.ByteBuffer
public class ByteBuffer
- extends Object
Helper function to allow callbacks on android.
ByteBuffer
public ByteBuffer(long cPtr,
boolean cMemoryOwn)
ByteBuffer
public ByteBuffer()
ByteBuffer
public ByteBuffer(byte[] _buffer,
int _length)
- Parameters:
_buffer
- pointer to the binary data_length
- length of the buffer
ByteBuffer
public ByteBuffer(ByteBuffer other)
getCPtr
public static long getCPtr(ByteBuffer obj)
delete
public void delete()
setLength
public void setLength(int value)
- legnth of the buffer
getLength
public int getLength()
- legnth of the buffer
getBuffer
public byte[] getBuffer()
release
public void release()