Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (12 sloc) 0.443 kB
// @file compress.h
#pragma once
#include <string>
namespace mongo {
size_t compress(const char* input, size_t input_length, std::string* output);
bool uncompress(const char* compressed, size_t compressed_length, std::string* uncompressed);
size_t maxCompressedLength(size_t source_len);
void rawCompress(const char* input,
size_t input_length,
char* compressed,
size_t* compressed_length);
}
Jump to Line
Something went wrong with that request. Please try again.