SceneGate / Yarhl

Framework for the implementation of format converters like game assets or media files
https://scenegate.github.io/Yarhl/
MIT License
60 stars 10 forks source link

🐛 WriteTo truncates output file #203

Closed pleonex closed 9 months ago

pleonex commented 9 months ago

DataStream.WriteTo now truncates the output file. Before if the file existed, it was opening and overwriting data. This could have caused unexpected results as the output file may have not contained exactly the same content as the source stream.

Quality check list

Acceptance criteria

Follow-up work

none

Example

API doesn't change.