언어 설정

Menu
Sites
Language
how to convert byteBuffer to char* ?

 

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

 

Responses

1 댓글
Alex Ashirov

Hi,

You can try the folowing

char * charBuf = (char*)buf.GetPointer();