public byte[] Rebuild() { var io = new DAIIO(PackageHeader == PackageHeader.Mc02); DataStructure.Write(io); var x = io.ToArray(); io.Close(); io.Dispose(); if (PackageHeader == PackageHeader.Mc02) { return(BuildMcPackage(x)); } return(BuildFbPackage(x)); }