pub fn serialize_unchecked<T: Serialize>(
    value: &T,
    root_name: Option<&str>,
    flavor: Flavor
) -> Result<Vec<u8>, NbtIoError>
Expand description

Similar to serialize, but elides homogeneity checks on sequential types and maximum array and string length checks. This means that there are some T for which this method will return invalid NBT data.