This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to access the data in Buffer



int fgdetect_buffer(Buffer_Handle hInBuf,Buffer_Handle hOutBuf)
{
 Int8 *inbuf;
 //Int8 *outbuf;


 inbuf = Buffer_getUserPtr( hInBuf);
 //outbuf = Buffer_getUserPtr( hOntBuf);
 Buffer_print(hInBuf);
 Buffer_setUserPtr( hOutBuf,inbuf);
       
 return 0;
       
}

it does not work ,how to access the data in the buffer? i want to process the data in the buffer and turn it to the outbuffer