Example #1
0
        public static bool ExportRawFile(ObjectReader reader, string exportPath)
        {
            var exportFullName = exportPath + reader.exportName + ".dat";

            if (ExportFileExists(exportFullName))
            {
                return(false);
            }
            File.WriteAllBytes(exportFullName, reader.GetRawData());
            return(true);
        }