mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-02-14 21:36:36 +00:00
Fix obvious bug
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user