top | item 46256839 (no title) voodooEntity | 2 months ago Thats even better than what i had in mind but agree also a good way to just scrumble stuff unusable ++ discuss order hn newest compsciphd|2 months 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)
compsciphd|2 months 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)
compsciphd|2 months ago