Function valence::nbt::from_binary
pub fn from_binary<'de, S>(
slice: &mut &'de [u8],
) -> Result<(Compound<S>, S), Error>
Expand description
Decodes uncompressed NBT binary data from the provided slice.
The string returned in the tuple is the name of the root compound (typically the empty string).