protected SaveFile(int size = 0) { Data = size == 0 ? Array.Empty <byte>() : new byte[size]; State = new SaveFileState(Array.Empty <byte>(), false); Metadata = new SaveFileMetadata(this); }
protected SaveFile(byte[] data, byte[] bak, bool exportable = true) { Data = data; State = new SaveFileState(bak, exportable); Metadata = new SaveFileMetadata(this); }