public void deserializeObjects() { object[] objs; objs = MyBinSerializer.DeserializeArr(); Array.Resize(ref objects, objects.Length + objs.Length); for (int i = 0; i < objs.Length; i++) { objects[objects.Length - objs.Length + i] = objs[i]; } }
public void serializeObjects() { MyBinSerializer.SerializeArr(objects); }