Closed MathiasKoch closed 3 years ago
@japaric
Also, could you add an entry to the changelog for this?
Also, how does this differ from #27 ?
@eldruin I think you might be right.
It looks like they add exactly the same functionality. So i think it is mostly a question of which approach do you like better?
I think this version is simpler so let's merge this one and close #27
to_slice
function when serializing, that allows serialization into an external buffer, eliminating the need for an additional copy in some cases.to_vec
to make use of above introducedto_slice
to_string
to make use ofto_vec
with an additional utf8 checkFixes #35