Fix obvious bug

This commit is contained in:
Matt Nadareski
2025-08-28 12:59:50 -04:00
parent e6497289da
commit 7645ab978f

View File

@@ -293,7 +293,7 @@ namespace SabreTools.Serialization.Wrappers
// Write the file
using var fs = File.Open(filename, FileMode.Create, FileAccess.Write, FileShare.None);
fs.Write(dataBytes);
fs.Write(dataBytes, 0, dataBytes.Length);
fs.Flush();
}