Function nbt::to_gzip_writer[][src]

pub fn to_gzip_writer<'a, W: ?Sized, T: ?Sized>(
    dst: &mut W,
    value: &T,
    header: Option<&'a str>
) -> Result<()> where
    W: Write,
    T: Serialize
Expand description

Encode value in Named Binary Tag format to the given io::Write destination, with an optional header.