Choosing a Storage Method

The following lists guidelines for deciding which storage method is appropriate for your application.

┌────────────────────┬────────────────────────────────────────┐
│Usage               │Recommended Format                      │
├────────────────────┼────────────────────────────────────────┤
│Chunk data contains │ZSTR (NULL-terminated string) format.   │
│nothing except a    │                                        │
│string              │                                        │
├────────────────────┼────────────────────────────────────────┤
│Chunk data contains │String-table format                     │
│a number of fields, │                                        │
│some of which are   │                                        │
│variable-length     │                                        │
│strings             │                                        │
├────────────────────┼────────────────────────────────────────┤
│Multiple chunks     │String-table format                     │
│within the file need│                                        │
│to reference        │                                        │
│variable-length     │                                        │
│strings             │                                        │
├────────────────────┼────────────────────────────────────────┤
│Chunk data stores a │BZSTR (NULL-terminated string with byte │
│sequence of strings,│size prefix) series                     │
│some of which the   │                                        │
│application may want│                                        │
│to skip             │                                        │
├────────────────────┼────────────────────────────────────────┤
│Chunk data contains │A multiline string format               │
│multiline strings   │                                        │
└────────────────────┴────────────────────────────────────────┘


[Back: Multiline String Format]
[Next: LIST Chunk]