Skip to content

Blob API is too terse #57

@Selicre

Description

@Selicre

I can't tell if I'm missing something, but the API for nbt::Blob doesn't let you enumerate keys, or remove them, or even read its name. It's okay for writing output, but you can't use it for processing NBT data that you don't know the structure of. Is there any better way to read an NBT blob, maybe using the Value type?

Edit: managed to use Value by first reading a u8 tag type and a short-prefixed string.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions