num-format
num-format copied to clipboard
[num-format] Fix `Buffer` failing to deserialize in binary formats
Fixes https://github.com/bcmyers/num-format/issues/40.
The culprit was deserialize_bytes()
which was changed to deserialize_seq()
.
Previously working serde operations (JSON, TOML) seem to work fine, and now binary formats work as well.
A test for bincode
was added as well.