2003-08-24 10:36:07 +00:00
|
|
|
/*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS cabinet manager
|
|
|
|
* FILE: tools/cabman/raw.h
|
|
|
|
* PURPOSE: CAB codec for uncompressed data
|
|
|
|
*/
|
2010-02-26 11:43:19 +00:00
|
|
|
|
|
|
|
#pragma once
|
2003-08-24 10:36:07 +00:00
|
|
|
|
|
|
|
#include "cabinet.h"
|
|
|
|
|
|
|
|
|
|
|
|
/* Classes */
|
|
|
|
|
2015-01-07 19:26:49 +00:00
|
|
|
class CRawCodec : public CCABCodec
|
|
|
|
{
|
2003-08-24 10:36:07 +00:00
|
|
|
public:
|
2008-02-02 11:57:16 +00:00
|
|
|
/* Default constructor */
|
|
|
|
CRawCodec();
|
|
|
|
/* Default destructor */
|
|
|
|
virtual ~CRawCodec();
|
|
|
|
/* Compresses a data block */
|
|
|
|
virtual ULONG Compress(void* OutputBuffer,
|
|
|
|
void* InputBuffer,
|
|
|
|
ULONG InputLength,
|
2020-08-30 13:31:04 +00:00
|
|
|
PULONG OutputLength) override;
|
2008-02-02 11:57:16 +00:00
|
|
|
/* Uncompresses a data block */
|
|
|
|
virtual ULONG Uncompress(void* OutputBuffer,
|
|
|
|
void* InputBuffer,
|
|
|
|
ULONG InputLength,
|
2020-08-30 13:31:04 +00:00
|
|
|
PULONG OutputLength) override;
|
2003-08-24 10:36:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* EOF */
|