|
Pyrogenesis
13997
|
Public Member Functions | |
| u32 | UpdateChecksum (u32 checksum, const u8 *in, size_t inSize) const |
| update a checksum to reflect the contents of a buffer. More... | |
Public Member Functions inherited from ICodec | |
| virtual | ~ICodec () |
| note: the implementation should not check whether any data remains - codecs are sometimes destroyed without completing a transfer. More... | |
| virtual size_t | MaxOutputSize (size_t inSize) const =0 |
| virtual Status | Reset ()=0 |
| clear all previous state and prepare for reuse. More... | |
| virtual Status | Process (const u8 *in, size_t inSize, u8 *out, size_t outSize, size_t &inConsumed, size_t &outProduced)=0 |
| process (i.e. More... | |
| virtual Status | Finish (u32 &checksum, size_t &outProduced)=0 |
| Flush buffers and make sure all output has been produced. More... | |
Protected Member Functions | |
| u32 | InitializeChecksum () |
Definition at line 33 of file codec_zlib.cpp.
|
inlineprotected |
Definition at line 49 of file codec_zlib.cpp.
update a checksum to reflect the contents of a buffer.
| checksum | the initial value (must be 0 on first call) |
| in | |
| inSize |
Implements ICodec.
Definition at line 36 of file codec_zlib.cpp.
1.8.5