Closed vmx closed 2 years ago
BufWriter can be used to serialize things into memory. The API is inspired by std::io::BufWriter.
BufWriter
std::io::BufWriter
In case you wonder why the decode tests suddenly need use_std, that's been the case even before this change.
use_std
This needs more work. It doesn't even work for the case I had in mind.
I added a clear() function, now it's ready for review.
clear()
BufWriter
can be used to serialize things into memory. The API is inspired bystd::io::BufWriter
.In case you wonder why the decode tests suddenly need
use_std
, that's been the case even before this change.