Function nbt::from_gzip_reader [−][src]
pub fn from_gzip_reader<R, T>(src: R) -> Result<T> where
R: Read,
T: DeserializeOwned,
Expand description
Decode an object from Named Binary Tag (NBT) format.
Note that only maps and structs can be decoded, because the NBT format does
not support bare types. Other types will return Error::NoRootCompound
.