Codec_ZLibNone::Codec_ZLibNone |
( |
| ) |
|
|
inline |
virtual Codec_ZLibNone::~Codec_ZLibNone |
( |
| ) |
|
|
inlinevirtual |
virtual Status Codec_ZLibNone::Finish |
( |
u32 & |
checksum, |
|
|
size_t & |
outProduced |
|
) |
| |
|
inlinevirtual |
Flush buffers and make sure all output has been produced.
- Parameters
-
checksum | Checksum over all input data. |
outProduced | |
- Returns
- error status for the entire operation.
Implements ICodec.
virtual size_t Codec_ZLibNone::MaxOutputSize |
( |
size_t |
inSize | ) |
const |
|
inlinevirtual |
- Returns
- an upper bound on the output size for the given amount of input. this is used when allocating a single buffer for the whole operation.
Implements ICodec.
virtual Status Codec_ZLibNone::Process |
( |
const u8 * |
in, |
|
|
size_t |
inSize, |
|
|
u8 * |
out, |
|
|
size_t |
outSize, |
|
|
size_t & |
inConsumed, |
|
|
size_t & |
outProduced |
|
) |
| |
|
inlinevirtual |
process (i.e.
compress or decompress) data.
- Parameters
-
in | |
inSize | |
out | |
outSize | Bytes remaining in the output buffer; shall not be zero. |
inConsumed,outProduced | How many bytes in the input and output buffers were used. either or both of these can be zero if the input size is small or there's not enough output space. |
Implements ICodec.
virtual Status Codec_ZLibNone::Reset |
( |
| ) |
|
|
inlinevirtual |
clear all previous state and prepare for reuse.
this is as if the object were destroyed and re-created, but more efficient since it avoids reallocating a considerable amount of memory (about 200KB for LZ).
Implements ICodec.
u32 Codec_ZLibNone::m_checksum |
|
private |
The documentation for this class was generated from the following file: