This is the first post in the series of Symbian Descriptors conversions. If you want to learn the basics of String and Descriptors, check out this link.
The first one is TBufC to TBuf Conversion. A TBuf can be obtained from a TBufC using the Des() method of TBufC
Here is a simple code snippet
_LIT(KTest, "FIRST"); TBufC<16> bufferC(KTest) ; TBuf<16> buffer(bufferC.Des());
The conversion between TBuf to TBufC is straight forward and can be done using the constructor
TBuf<16> buffer(KTest); TBufC<16> bufferC(buffer) ;