mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
GzipNoCompression witout zlib calls
This commit is contained in:
@@ -3,8 +3,10 @@
|
||||
|
||||
#include <zlib.h>
|
||||
|
||||
namespace i2p {
|
||||
namespace data {
|
||||
namespace i2p
|
||||
{
|
||||
namespace data
|
||||
{
|
||||
class GzipInflator
|
||||
{
|
||||
public:
|
||||
@@ -38,6 +40,9 @@ namespace data {
|
||||
z_stream m_Deflator;
|
||||
bool m_IsDirty;
|
||||
};
|
||||
|
||||
size_t GzipNoCompression (const uint8_t * in, uint16_t inLen, uint8_t * out, size_t outLen); // for < 64K
|
||||
|
||||
} // data
|
||||
} // i2p
|
||||
|
||||
|
||||
Reference in New Issue
Block a user