diff options
Diffstat (limited to 'src/common/io/Stream.cpp')
-rw-r--r-- | src/common/io/Stream.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/io/Stream.cpp b/src/common/io/Stream.cpp index b2a67a18..97cfcf99 100644 --- a/src/common/io/Stream.cpp +++ b/src/common/io/Stream.cpp @@ -62,6 +62,7 @@ Buffer Stream::ReadToEnd(Index grow_size) { Buffer buffer(grow_size); while (true) { auto read = Read(buffer.GetUsedEndPtr(), buffer.GetBackFree()); + buffer.PushBackCount(read); if (read == 0) { break; } |