Hi,
Do Blob Assets ever get relocated in memory? I’m building my own data structure and I’m wondering if I can just store some pointers and be sure they will be valid the entire lifetime of my application.
Namely BlobArray.GetUnsafePtr and BlobBuilderArray.GetUnsafePtr.
The reason I need it is because I want to have a few static functions that I can reuse for a custom hash map implementation. I’m copying the pattern used by BlobBuilderArray, but since it’s a ref struct, I can’t have both my BlobHashMap and BlobBuilderHashMap implement an interface and let my static functions operate on that.
Looking at the code it looks like it would be OK to store these, which means I wouldn’t have to duplicate any code… but I want to make sure it doesn’t break in the future.
Thanks.