13 lines
330 B
C
13 lines
330 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
void inflateInit(uint8_t* comprBuffer, uint8_t* uncomprBuffer, unsigned long uncomprBufferSize);
|
|
|
|
struct InflateOutput {
|
|
bool needMoreInput;
|
|
bool hasReachedEnd;
|
|
unsigned long numBytesWrittenToOutput;
|
|
};
|
|
|
|
struct InflateOutput inflateInflate(unsigned long numInputBytes, bool hasMoreBytes);
|