- Call
Decoder::decode_bytes
when we are going to cache an object for the first time. Now, the only time we go throughDecoder::decode
is when we aren't going to cache the object at all (but do not rely on this guarantee).
- We also need the right bound on the
Decoder
trait.
- Add a seek bound to
VfsReader
. This is for loading assets, and many decoders we might write require this.
- Get rid of a stray
println
- Errors now have a Display impl.