Aaron Jacobs
Aaron Jacobs
I'm not sure I'm 100% following the changes, but it looks like internally you use a `Cursor` to wrap the byte slice. Since `Cursor` implements `io::Read`, wouldn't it be possible...
I'm happy to see the API expanded for this kind of thing if you'd like to submit a PR.
> Named blob support should honestly be kind of a secondary thing purely because I can't find a single instance where it is used, or is relevant. Do you know...
I'm not sure I really understand what's going on here. Internally-tagged enums don't really make sense in the NBT format to me; can you give a more specific example of...
Ah, that's interesting. I'm surprised that works, really, but it's a nice design pattern for sure. It may be possible to fix, but it is also possible that Serde simply...
@caelunshun Have you come up with a reasonable workaround for this, or is it still a blocking issue? I have a theory that we could implement deserialization of enums directly...
I'm not sure why this is the case, either. There [is a test](https://github.com/PistonDevelopers/hematite_nbt/blob/master/src/tests.rs#L289) for this exact behaviour that seems to pass.
This is an interesting approach, and thanks for taking the initiative to implement it. I have a couple thoughts: * What is the cost of monomorphization here? Idiomatic Rust usually...
It’s possible this information is available in the serde-level errors, we may need to propagate it better though.
I will file a separate issue explaining how to port this to macOS when possible. Until it has been ported there's not much to do. Once `xrprof` works on macOS...