Function nbt::serialize::emit_next_header [] [src]

pub fn emit_next_header<R>(src: &mut R) -> Result<(u8, String)> where R: Read

Extracts the next header (tag and name) from an NBT format source.

This function will also return the TAG_End byte and an empty name if it encounters it.