[−][src]Function nbt::ser::to_writer
pub fn to_writer<'a, W: ?Sized, T: ?Sized>(
dst: &mut W,
value: &T,
header: Option<&'a str>
) -> Result<()> where
W: Write,
T: Serialize,
Encode value
in Named Binary Tag format to the given io::Write
destination, with an optional header.