diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-A60BFFE4-E527-547C-AF4D-30BB7A1C0D07.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-A60BFFE4-E527-547C-AF4D-30BB7A1C0D07.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,25 @@ + + + + + +Text +and binary dataDescribes how C strings are handled in text and binary data. +

In ‘C’, strings are characterised by the need for a zero terminator to +flag the end of the string. They suffer from a number of problems. In particular, +they cannot include binary data within them (in case that data includes binary +zeroes) and operations on them are, in general, inefficient. ‘C’ strings need +to be handled in a different way to binary data, as reflected in the memxxx() and strxxx() function +groups in the ANSI ‘C’ library.

+

Descriptors allow strings and binary data to be represented in the same +way; this allows the same functions to be used in both cases.

+

For binary data, the 8 bit descriptors should be used explicitly. The distinction +between Unicode and non-Unicode has no meaning for binary data

+

Note that there is no practical use for explicit 16 bit binary data.

+
\ No newline at end of file