Open dpc opened 3 years ago
Uhh yeah since 0.4 hex
uses "from-iterator" types for encoding result and thus doesn't support to encode directly to Writer
any more :x
This "ability" will most surely come back in later versions (cf #37) but for now yeah there's sadly no way without allocating beforehand :(
I'll tag this issue as "bug" or something in order to have it somewhere for the "1.0" milestone
There used to be
write_hex
that encoded straight intoWriter
, but now it's gone and I'm not sure what's the most idiomatic way to replace it without temporarily allocation.