Storage Engine API
compress.h File Reference
#include <string>

Go to the source code of this file.

Namespaces

 mongo
 Copyright (C) 2014 MongoDB Inc.
 

Functions

size_t mongo::compress (const char *input, size_t input_length, std::string *output)
 
bool mongo::uncompress (const char *compressed, size_t compressed_length, std::string *uncompressed)
 
size_t mongo::maxCompressedLength (size_t source_len)
 
void mongo::rawCompress (const char *input, size_t input_length, char *compressed, size_t *compressed_length)