Minor fixes and tweaks.

This commit is contained in:
CloneTrooper1019
2019-07-04 18:26:53 -05:00
parent 4e1fdc0a22
commit cf4cf829d7
9 changed files with 60 additions and 34 deletions

View File

@ -11,11 +11,11 @@ namespace RobloxFiles.XmlFormat.PropertyTokens
{
// BinaryStrings are encoded in base64
string base64 = token.InnerText.Replace("\n", "");
prop.Value = Convert.FromBase64String(base64);
prop.Type = PropertyType.String;
byte[] buffer = Convert.FromBase64String(base64);
prop.Value = buffer;
prop.RawBuffer = buffer;
prop.Type = PropertyType.String;
return true;
}