Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Using TDes8Overflow

The Overflow() member function of the overflow handler, TDes8Overflow, can be defined and implemented to handle a potential descriptor overflow resulting from a call to TDes8::AppendFormat().

There are many actions that the overflow function can perform but some possibilities are:

For more complex recovery actions, it may be easier to set a flag in the implementation of the TDes8Overflow class and check it on return from the call to AppendFormat().