how to convert byteBuffer to char* ?

how to convert byteBuffer to char* ?

BY 02 Dec 2013 Native Application Development

 

I want to convert  byteBuffer to char* .

What should I do ?

Please let me know

void
TestForm::check(Tizen::Base::ByteBuffer& buf)
{

    //char* charBuf = ??

	String str(charBuf);
	int len = str.GetLength();

.
.
.

}

 

 

Best regards,

Jenny

 

Written by