[xoreos-git] [xoreos/phaethon] fff860: COMMON: Remove MemoryWriteStreamDynamic::pos()
GitHub
noreply at github.com
Mon Nov 28 02:26:02 CET 2016
Branch: refs/heads/master
Home: https://github.com/xoreos/phaethon
Commit: fff860cbb789302d6a00d64461e83b6f308adb92
https://github.com/xoreos/phaethon/commit/fff860cbb789302d6a00d64461e83b6f308adb92
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M src/common/memwritestream.cpp
M src/common/memwritestream.h
Log Message:
-----------
COMMON: Remove MemoryWriteStreamDynamic::pos()
It doesn't need to exist. The position and size are always the same;
they're the number of bytes written to. The capacity denotes the size
of the memory block.
Commit: be9047633cff22a26be6f2c0acb66eeab6b31d05
https://github.com/xoreos/phaethon/commit/be9047633cff22a26be6f2c0acb66eeab6b31d05
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M src/common/memwritestream.h
Log Message:
-----------
COMMON: Document MemoryWriteStream::size() and pos()
size() returns the number of bytes in the memory block in total, while
pos() is the current writing position.
Commit: e55a84f71e8b389d2dd65c4750da04fbbe08ed0b
https://github.com/xoreos/phaethon/commit/e55a84f71e8b389d2dd65c4750da04fbbe08ed0b
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M src/common/memwritestream.h
Log Message:
-----------
COMMON: Document MemoryWriteStreamDynamic::size()
As this stream grows dynamically, size() returns the number of bytes
written to in total.
Commit: e1e8c21438e93e78d294e12a4d9aba521cd2f62b
https://github.com/xoreos/phaethon/commit/e1e8c21438e93e78d294e12a4d9aba521cd2f62b
Author: Sven Hesse <drmccoy at drmccoy.de>
Date: 2016-11-28 (Mon, 28 Nov 2016)
Changed paths:
M src/common/writefile.cpp
M src/common/writefile.h
Log Message:
-----------
COMMON: Add WriteFile::size()
Returns the number of bytes written to the current file in total.
Compare: https://github.com/xoreos/phaethon/compare/e10b2123bda6...e1e8c21438e9
More information about the xoreos-git
mailing list