aboutsummaryrefslogtreecommitdiff
path: root/common/memstream.h
AgeCommit message (Collapse)Author
2016-08-24CLOUD: Fix MemoryReadWriteStreamAlexander Tkachev
There was a problem with file downloading in MinGW. Strangely, there is no such problem in Visual Studio, yet this fixes the problem.
2016-08-24CLOUD: Rewrite NetworkReadStreamAlexander Tkachev
Now it is based on MemoryReadWriteStream, which is introduced by this commit. This stream is using ring buffer and is dynamically increasing its size when necessary.
2016-08-04COMMON: Add WriteStream::pos()Alexander Tkachev
It returns int32, because some complex streams are derived from both WriteStream and ReadStream, and in ReadStream pos() returns int32, because -1 means an error. I had to change MemoryStream's uint32 to int32, which is probably not so good.
2016-07-02COMMON: Make MemoryWriteStreamDynamic private members protectedWillem Jan Palenstijn
2016-03-28COMMON: Use better reallocation strategy in MemoryWriteStreamDynamic.Eugene Sandulenko
Fixes bug #6983: "SWORD25: long saving time"
2014-02-18COMMON: Make GPL headers consistent in themselves.Johannes Schickel
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2013-01-26JANITORIAL: Enforce "} // End of namespace" with a single space after }.Johannes Schickel
2012-10-09COMMON: Properly handle error indicator in MemoryWriteStream.Johannes Schickel
Thanks to waltervn for noticing that MemoryWriteStream::write doesn't handle setting the error indicator properly.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2010-11-23COMMON: Remove default value for endianess in ReadStreamEndian subclassesMax Horn
svn-id: r54441
2010-11-23COMMON: Add ReadStreamEndian mixin classMax Horn
svn-id: r54438
2010-11-23COMMON: Remove XOR decoding capability from MemoryReadStreamMax Horn
svn-id: r54436
2010-11-19COMMON: Split common/stream.h into several headersMax Horn
svn-id: r54385