18#ifndef _DECAF_UTI_ZIP_INFLATER_H_
19#define _DECAF_UTI_ZIP_INFLATER_H_
61 Inflater(
const Inflater&);
62 Inflater& operator=(
const Inflater&);
102 void setInput(
const unsigned char* buffer,
int size,
int offset,
int length);
118 void setInput(
const std::vector<unsigned char>& buffer,
int offset,
int length);
129 void setInput(
const std::vector<unsigned char>& buffer);
160 void setDictionary(
const unsigned char* buffer,
int size,
int offset,
int length);
180 void setDictionary(
const std::vector<unsigned char>& buffer,
int offset,
int length);
239 int inflate(
unsigned char* buffer,
int size,
int offset,
int length);
258 int inflate(std::vector<unsigned char>& buffer,
int offset,
int length);
272 int inflate(std::vector<unsigned char>& buffer);
void setInput(const std::vector< unsigned char > &buffer)
Sets input data for decompression.
void setDictionary(const unsigned char *buffer, int size, int offset, int length)
Sets the preset dictionary to the given array of bytes.
void reset()
Resets deflater so that a new set of input data can be processed.
void setDictionary(const std::vector< unsigned char > &buffer)
Sets the preset dictionary to the given array of bytes.
Inflater(bool nowrap)
Creates a new decompressor.
int getRemaining() const
Returns the total number of bytes remaining in the input buffer.
void setInput(const unsigned char *buffer, int size, int offset, int length)
Sets input data for decompression.
long long getBytesRead() const
int inflate(std::vector< unsigned char > &buffer)
Uncompresses bytes into specified buffer.
void end()
Closes the decompressor and discards any unprocessed input.
Inflater()
Creates a new decompressor.
long long getBytesWritten() const
bool needsDictionary() const
long long getAdler() const
int inflate(std::vector< unsigned char > &buffer, int offset, int length)
Uncompresses bytes into specified buffer.
void setDictionary(const std::vector< unsigned char > &buffer, int offset, int length)
Sets the preset dictionary to the given array of bytes.
void finish()
When called, indicates that decompression should end with the current contents of the input buffer.
void setInput(const std::vector< unsigned char > &buffer, int offset, int length)
Sets input data for decompression.
int inflate(unsigned char *buffer, int size, int offset, int length)
Uncompresses bytes into specified buffer.
#define DECAF_API
Definition Config.h:29
Definition AbstractCollection.h:33
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25