what is the correct way to store a pointer as a field because seemingly my method that has worked fine every single time is not the correct way of doing it
so my question is what is the best way to do this i need to store a pointer to something in a struct like this currently i used the fixed thing but seemingly that's incorrect so i have no idea ive never had any issues with it but i'd rather there wasn't a chance to have any issues with it
so basically if i am understanding this storing it as a span is the correct way to do it instead of storing a raw pointer? i think i have confused myself
this also helped me understand my original question of why you need to deallocate the memory with silkmarshal instead of just using fixed on it so that's good too