Function fastnbt::to_writer_with_opts
source · pub fn to_writer_with_opts<T: Serialize, W: Write>(
writer: W,
v: &T,
opts: SerOpts
) -> Result<()>
Expand description
Serialize some T
into NBT data. See the ser
module for more
information. The options allow you to set things like the root name of the
compound when serialized.