The choice of Symbian not to use common types and functions for handling strings and binary buffer may look quite surprising for many developers new to this platform. And probably more than one developer has spent a couple of hours wondering about the respective merits of Tbuf, TbufC, HbufC,...
The main characteristics of Symbian descriptors are:
- strings and binary data are threated the same way
- data can reside in any memory location, either ROM or RAM, on the stack or on the heap
- a descriptor object maintains pointer and length information to describe its data. Some descriptors also include a maximum length
