Function nbt::serialize::close_nbt [] [src]

pub fn close_nbt<W>(dst: &mut W) -> Result<()> where W: Write

A convenience function for closing NBT format objects.

This function writes a single 0x00 byte to the io::Write destination, which in the NBT format indicates that an open Compound is now closed.