Performs a discovery phase to find out which objects are about to be serialized.
This works by effectively serializing the object graph to /dev/null, recording which objects are unconditionally written using the standard GetObjectData
method.
PStream Class | UMD.HCIL.Piccolo.Util Namespace