@@ -275,13 +275,13 @@ struct ReadBuffer {
* @param reader The filter to actually read data.
*/
ReadBuffer(LoadFilter *reader) : bufp(NULL), bufe(NULL), reader(reader), read(0)
{
}
FORCEINLINE byte ReadByte()
inline byte ReadByte()
if (this->bufp == this->bufe) {
size_t len = this->reader->Read(this->buf, lengthof(this->buf));
if (len == 0) SlErrorCorrupt("Unexpected end of chunk");
this->read += len;
@@ -315,13 +315,13 @@ struct MemoryDumper {
/**
* Write a single byte into the dumper.
* @param b The byte to write.
FORCEINLINE void WriteByte(byte b)
inline void WriteByte(byte b)
/* Are we at the end of this chunk? */
if (this->buf == this->bufe) {
this->buf = CallocT<byte>(MEMORY_CHUNK_SIZE);
*this->blocks.Append() = this->buf;
this->bufe = this->buf + MEMORY_CHUNK_SIZE;