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