Adds APIs for efficient buffer reuse on different types
Shamelessly stolen from https://users.rust-lang.org/t/reuse-a-vec-t-s-allocation-beyond-the-scope-of-its-content/66398/3
Adds APIs for efficient buffer reuse on different types
Shamelessly stolen from https://users.rust-lang.org/t/reuse-a-vec-t-s-allocation-beyond-the-scope-of-its-content/66398/3