num-format icon indicating copy to clipboard operation
num-format copied to clipboard

[num-format] Fix `Buffer` failing to deserialize in binary formats

Open hinto-janai opened this issue 1 year ago • 0 comments

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.

hinto-janai avatar Apr 24 '23 00:04 hinto-janai