Y
Hacker News
new
|
ask
|
show
|
jobs
by
pjmlp
2013 days ago
Allocate it via Marshal.AllocHGlobal, and use unsafe to place it there.
Then you can allocate and deallocate at will.
Or just use a struct.