1 /* 2 * COPYRIGHT: See COPYING in the top level directory 3 * PROJECT: ReactOS cabinet manager 4 * FILE: tools/cabman/raw.h 5 * PURPOSE: CAB codec for uncompressed data 6 */ 7 8 #pragma once 9 10 #include "cabinet.h" 11 12 13 /* Classes */ 14 15 class CRawCodec : public CCABCodec 16 { 17 public: 18 /* Default constructor */ 19 CRawCodec(); 20 /* Default destructor */ 21 virtual ~CRawCodec(); 22 /* Compresses a data block */ 23 virtual ULONG Compress(void* OutputBuffer, 24 void* InputBuffer, 25 ULONG InputLength, 26 PULONG OutputLength) override; 27 /* Uncompresses a data block */ 28 virtual ULONG Uncompress(void* OutputBuffer, 29 void* InputBuffer, 30 ULONG InputLength, 31 PULONG OutputLength) override; 32 }; 33 34 /* EOF */ 35