AuroraRuntime/Source/Compression/BlockDecompressor.hpp
2021-06-27 22:25:29 +01:00

23 lines
522 B
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: BlockDecompressor.hpp
Date: 2021-6-17
Author: Reece
***/
#pragma once
namespace Aurora::Compression
{
class BaseStream : public ICompressionStream
{
public:
virtual ~BaseStream() {}
virtual bool Init(Aurora::IO::IStreamReader *reader) = 0;
bool Read(void * /*opt*/ buffer, AuUInt32 &len, bool ingestUntilError) override;
protected:
AuList<AuUInt8> _outbuffer;
};
}