Does serde guarantee that something that was serialized as
str can be deserialized as
bytes and the bytes are the UTF-8 bytes equal to the
It appears that this works at least for
bincode, but can it be relied upon?
Use case: Micro optimization to avoid useless UTF-8 validation when all non-ASCII is in error.