ReactOS  0.4.14-dev-854-gb9426a3
CRawCodec Class Reference

#include <raw.h>

Inheritance diagram for CRawCodec:
Collaboration diagram for CRawCodec:

Public Member Functions

 CRawCodec ()
 
virtual ~CRawCodec ()
 
virtual ULONG Compress (void *OutputBuffer, void *InputBuffer, ULONG InputLength, PULONG OutputLength)
 
virtual ULONG Uncompress (void *OutputBuffer, void *InputBuffer, ULONG InputLength, PULONG OutputLength)
 
- Public Member Functions inherited from CCABCodec
 CCABCodec ()
 
virtual ~CCABCodec ()
 

Detailed Description

Definition at line 15 of file raw.h.

Constructor & Destructor Documentation

◆ CRawCodec()

CRawCodec::CRawCodec ( )

Definition at line 18 of file raw.cxx.

22 {
23 }

◆ ~CRawCodec()

CRawCodec::~CRawCodec ( )
virtual

Definition at line 26 of file raw.cxx.

30 {
31 }

Member Function Documentation

◆ Compress()

ULONG CRawCodec::Compress ( void OutputBuffer,
void InputBuffer,
ULONG  InputLength,
PULONG  OutputLength 
)
virtual

Implements CCABCodec.

Definition at line 34 of file raw.cxx.

46 {
47  memcpy(OutputBuffer, InputBuffer, InputLength);
48  *OutputLength = InputLength;
49  return CS_SUCCESS;
50 }
CHAR InputBuffer[80]
Definition: conmgr.c:33
_Must_inspect_result_ __drv_aliasesMem _In_ PDEVICE_OBJECT _In_opt_ PVOID _In_ ULONG _Out_opt_ PVOID OutputBuffer
Definition: iofuncs.h:713
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
#define CS_SUCCESS
Definition: cabinet.h:41

◆ Uncompress()

ULONG CRawCodec::Uncompress ( void OutputBuffer,
void InputBuffer,
ULONG  InputLength,
PULONG  OutputLength 
)
virtual

Implements CCABCodec.

Definition at line 52 of file raw.cxx.

64 {
65  memcpy(OutputBuffer, InputBuffer, InputLength);
66  *OutputLength = InputLength;
67  return CS_SUCCESS;
68 }
CHAR InputBuffer[80]
Definition: conmgr.c:33
_Must_inspect_result_ __drv_aliasesMem _In_ PDEVICE_OBJECT _In_opt_ PVOID _In_ ULONG _Out_opt_ PVOID OutputBuffer
Definition: iofuncs.h:713
#define memcpy(s1, s2, n)
Definition: mkisofs.h:878
#define CS_SUCCESS
Definition: cabinet.h:41

The documentation for this class was generated from the following files: