Skip to content

Commit

Permalink
dictionary tables info
Browse files Browse the repository at this point in the history
  • Loading branch information
v-p-b authored Oct 28, 2024
1 parent ac04727 commit efd05ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ As basic data types may be parts of complex datastrucures, maintaining data cons
nbfx_import_values(nbfx, editable_values)
```

### Dictionary Tables

The parser and the associated helper functions are _stateless_: we don't keep track of dictionary entries, only include their index numbers in the (de)serialized objects. This reduces complexity and improves reliability (see dictionary handling bugs of python-wcfbin). If you want to manipulate strings in the dictionary cache you either have to edit its first occurrance, or rebuild the NBFX stream so it'll contain string records instead of dictionary references. If you want to generate a nice textual XML representation of the messages, you'll need to build your dictionary cache around this package (again, python-wcfbin has an example, but it's buggy).

Testing
-------

Expand Down

0 comments on commit efd05ef

Please sign in to comment.