A <TypeBuffer> can contain a mix of owning pointers, non-owning pointers, and null pointers. Removes any collection indices that refer to null pointers. At least one allocation is required, and the size of this allocation is of the order of the count of the source <TypeBuffer>.
int32 Compact()
None published. Please look for an example in the Scenome Scripting Language code base.