Function nbt::to_gzip_writer
source · pub fn to_gzip_writer<'a, W, T>(
dst: &mut W,
value: &T,
header: Option<&'a str>,
endian: Endianness
) -> Result<()>where
W: ?Sized + Write,
T: ?Sized + Serialize,
Expand description
Encode value
in Named Binary Tag format to the given io::Write
destination, with an optional header.