Added support for saving XML files!

Support for binary files will be coming later.
This commit is contained in:
CloneTrooper1019
2019-05-17 07:08:06 -05:00
parent 45a84e34d0
commit 34642f5656
40 changed files with 838 additions and 113 deletions

View File

@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@ -12,6 +13,8 @@ namespace RobloxFiles
public interface IRobloxFile
{
Instance Contents { get; }
void ReadFile(byte[] buffer);
void WriteFile(Stream stream);
}
}

View File

@ -10,6 +10,8 @@ namespace RobloxFiles.XmlFormat
public interface IXmlPropertyToken
{
string Token { get; }
bool ReadToken(Property prop, XmlNode token);
bool ReadProperty(Property prop, XmlNode token);
void WriteProperty(Property prop, XmlDocument doc, XmlNode node);
}
}