bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] IBinaryFileWriter::Write writes invalid data into a file #62

Closed bnoazx005 closed 3 years ago

bnoazx005 commented 3 years ago

Bug report

Environment

Win 10 (x64) / Visual Studio 2017 / TDEngine2-v0.4.x / NVidia GTX 860M in GL3.x mode

Steps to reproduce the issue

  1. Try to write some data into a file using CBinaryFileWriter
  2. Try to read written data from the file created in the first step

What's the expected result?

The written data should be successfully read from the file

What's the actual result?

Unexpected end of steam has been reached