public class
TF_Buffer
Nested Classes
Public Constructors
Public Methods
Inherited Methods
byte[] |
copyData()
Returns a copy of the data in a Java array
|
ByteBuffer |
dataAsByteBuffer()
Returns the data of this buffer as a
ByteBuffer |
void |
delete()
Calls the deallocator, if registered, otherwise has no effect.
|
static TF_Buffer |
newBuffer()
Calls TF_NewBuffer(), and registers a deallocator.
|
static TF_Buffer |
newBufferFromString(Message proto)
Returns {@code newBufferFromString(new BytePointer(proto.toByteArray())), or null if proto is null or empty.
|
static TF_Buffer |
newBufferFromString(Pointer proto)
Calls TF_NewBufferFromString(), and registers a deallocator.
|
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Constructors
public TF_Buffer ()
Default native constructor.