Draft: Wrap memz 32k byte buffers in a struct
I had this idea the whole discussion of #178 (closed), but I should have just written an MR to demonstrate.
It's a minor change, the idea is that the user no longer has to remember to slice buf[:n]
after reading n
bytes into a reusable []byte
slice buf
.