1
0
mirror of https://github.com/luanti-org/luanti.git synced 2026-01-13 20:55:30 +01:00
Files
luanti/src/network
SmallJoker 3d10d4e859 Serialize: Throw exception on incomplete reads (#16796)
Several mistakes were made past where the stream was expected to raise
the EOF flag when reaching the end of stream. That is incorrect. The
flag is only raised if the current read operation fails.

This commit unifies all istream compatibility code to use 'canRead'
for reliable EOF detection. An exception is now thrown when a
value cannot be read completely (e.g. missing bytes).
Version comments are added for easier backtracing.
2026-01-03 11:13:14 +01:00
..
2025-11-16 15:00:51 +01:00
2025-11-16 15:00:51 +01:00
2025-11-16 15:00:51 +01:00
2025-11-16 15:00:51 +01:00