2018-07-31 13:18:18 +02:00
|
|
|
#pragma once
|
|
|
|
|
2018-08-07 15:22:07 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
void inflateInit(uint8_t* comprBuffer, uint8_t* uncomprBuffer, unsigned long uncomprBufferSize);
|
2018-07-31 13:18:18 +02:00
|
|
|
|
|
|
|
struct InflateOutput {
|
|
|
|
bool needMoreInput;
|
2018-07-31 13:38:21 +02:00
|
|
|
bool hasReachedEnd;
|
2018-07-31 13:18:18 +02:00
|
|
|
unsigned long numBytesWrittenToOutput;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct InflateOutput inflateInflate(unsigned long numInputBytes, bool hasMoreBytes);
|