diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-C642BA79-0E9B-5C62-9DC7-C64759830CD4.dita --- a/Symbian3/PDK/Source/GUID-C642BA79-0E9B-5C62-9DC7-C64759830CD4.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-C642BA79-0E9B-5C62-9DC7-C64759830CD4.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,26 +1,26 @@ - - - - - -Dynamic -buffers versus descriptors, arrays and heap cellsExplains the difference between various types of buffers. -

The essential difference between dynamic buffers and more straightforward -means of storing binary data is that C arrays and descriptors provide essentially -non-extensible buffers. Any attempt to write beyond the end of a C array results -in undefined (and usually disastrous) consequences. Any attempt to write beyond -the end of a descriptor results in a panic.

-

Heap cells may be extended, but not without limit; it may be impossible -to extend a heap cell further, because the heap is exhausted, or too fragmented -to permit the extension. In addition, if heap cell re-allocation results in -movement of the cell, re-allocation can be unduly expensive. If re-allocation -is undesirable, then a buffer could be extended by allocating a new segment -in a new allocation cell. Segmented buffers have this behaviour: flat buffers -use re-allocation alone.

+ + + + + +Dynamic +buffers versus descriptors, arrays and heap cellsExplains the difference between various types of buffers. +

The essential difference between dynamic buffers and more straightforward +means of storing binary data is that C arrays and descriptors provide essentially +non-extensible buffers. Any attempt to write beyond the end of a C array results +in undefined (and usually disastrous) consequences. Any attempt to write beyond +the end of a descriptor results in a panic.

+

Heap cells may be extended, but not without limit; it may be impossible +to extend a heap cell further, because the heap is exhausted, or too fragmented +to permit the extension. In addition, if heap cell re-allocation results in +movement of the cell, re-allocation can be unduly expensive. If re-allocation +is undesirable, then a buffer could be extended by allocating a new segment +in a new allocation cell. Segmented buffers have this behaviour: flat buffers +use re-allocation alone.

\ No newline at end of file