Skip to content
vfnder edited this page Mar 30, 2018 · 1 revision

Sentinel Node and Serialization

On binary serialization sentinel node make some problems and even can be serialized(and deserialized) as null. I decided this problem by adding IsSentinel bool field to the node class and replasing all checks like > if(workNode == null)> in tree class into > if(workNode.IsSentinel)> . It helps me, if u will have the same problem u will know what to do

Clone this wiki locally