private void saveEntry() { savePersonal(); byte[] edits = pkm.Write(); File.WriteAllBytes(paths[entry], edits); Array.Copy(edits, 0, data, entry * edits.Length, edits.Length); File.WriteAllBytes(paths[paths.Length - 1], data); }
private void SaveEntry() { SavePersonal(); byte[] edits = pkm.Write(); files[entry] = edits; }