TML Messaging Suite  1.1.5
for Java
 All Classes Namespaces Functions Variables Groups Pages
void com.tmlsidex.jni.Tml.tml_RecStream_ReadBuffer ( long  coreHandle,
long  iID,
ByteBuffer  buffer,
int  count 
) throws TmlSidexException

read a buffer from the stream

This function reads the given number of bytes from a stream. If the stream ends before all bytes are read, an exception will be thrown.

coreHandleTML core handle (TML_CORE_HANDLE)
iIDclear stream identification
bufferreturns the read content
countnumber of bytes to read
See also
Tml::tml_RecStream_Read(long, long, ByteBuffer, int)