For several cooperating tasks to share a heap, one task must first create the heap and flatten it to a stream:
TSharedMemoryHeap* sharedHeap = new TSharedMemoryHeap(size);
Flatten(sharedHeap, stream);
This operation doesn't stream the heap memory itself; it only streams the