Create binary serializer debugging code
There's currently DebugSerializer for producing human-readable output, but it's quite different to the normal serialization done by BinarySerializer. When there are bugs with the binary serialization/deserialization code, it would be helpful to have an 'annotated' version of the binary output - perhaps just implement Put
so it prints the name string and a hex dump of the bytes, and then add markers for the start of each component, so it's easier to follow. (That would also help with offline analysis of the dumps to check for space efficiency and optimisation opportunities.)
It might also be nice to have a mode where the serializer stores extra data (names, types) that are verified by the deserializer, to detect bugs where it's trying to read back data in the wrong format.
Change History
(7)
Owner: |
Philip Taylor removed
|
Owner: |
set to Yves
|
Status: |
new → assigned
|
Owner: |
Yves removed
|
Status: |
assigned → new
|
Component: |
UI & Simulation → Simulation
|
Milestone Unclassified deleted