Y
Hacker News
new
|
ask
|
show
|
jobs
by
compsciphd
182 days ago
I'm now wondering with a bit of unsafe, reflection and generics magic one could make it work with any struct as well (use reflection to instantiate a generic type and use unsafe to just overwrite the bytes)