c640f31c9f
since the serialization format isn't self-describing we need a way to detect when encoder and decoder don't match up. but that doesn't have to be utf8 validation for strings, which does cost a few % of performance. Instead we can use a marker byte at the end to be reasonably sure that we're dealing with a string and it wasn't overwritten in some way. |
||
---|---|---|
.. | ||
json | ||
collection_impls.rs | ||
json.rs | ||
leb128.rs | ||
lib.rs | ||
opaque.rs | ||
serialize.rs |