Here is the example of converting TBuf8 to TBuf16 and vice versa.
TBuf8<20> temp8;
TBuf16<20> temp16;
// converting TBuf8 to TBuf16
temp8.Copy(_L8("hello world"));
temp16.Copy(temp8);
// converting TBuf16 to TBuf8
temp8.Copy(temp16);
阅读(919) | 评论(0) | 转发(0) |