14 #ifndef LLVM_SUPPORT_COMPRESSION_H
15 #define LLVM_SUPPORT_COMPRESSION_H
17 #include "llvm/Support/DataTypes.h"
20 template <
typename T>
class SmallVectorImpl;
39 size_t &UncompressedSize);
43 size_t UncompressedSize);
Error compress(StringRef InputBuffer, SmallVectorImpl< char > &CompressedBuffer, CompressionLevel Level=DefaultCompression)
uint32_t crc32(StringRef Buffer)
Lightweight error class with error context and mandatory checking.
StringRef - Represent a constant reference to a string, i.e.
Error uncompress(StringRef InputBuffer, char *UncompressedBuffer, size_t &UncompressedSize)