Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]


Choices with buffers

Dynamic buffers present two choices to potential users:

  1. is it worth using dynamic buffers at all?

  2. if so, is it better to use flat or segmented buffers?

[Top]


Dynamic buffers or other storage?

Use a more conventional scheme, such as a descriptor if:

On the other hand, use dynamic buffers if:

The dynamic buffer classes are a general solution for requirements such as these. In some quite specialised cases, the particular requirements of the problem are more exacting than those met by dynamic buffers, and a specialised buffer scheme may be necessary.

[Top]


Flat or segmented buffers?

If dynamic buffers are appropriate, use flat buffers if:

On the other hand, use segmented buffers: