LLVM  6.0.0svn
Enumerations | Functions
llvm::zlib Namespace Reference

Enumerations

enum  CompressionLevel { NoCompression, DefaultCompression, BestSpeedCompression, BestSizeCompression }
 

Functions

bool isAvailable ()
 
Error compress (StringRef InputBuffer, SmallVectorImpl< char > &CompressedBuffer, CompressionLevel Level=DefaultCompression)
 
Error uncompress (StringRef InputBuffer, char *UncompressedBuffer, size_t &UncompressedSize)
 
Error uncompress (StringRef InputBuffer, SmallVectorImpl< char > &UncompressedBuffer, size_t UncompressedSize)
 
uint32_t crc32 (StringRef Buffer)
 

Enumeration Type Documentation

◆ CompressionLevel

Enumerator
NoCompression 
DefaultCompression 
BestSpeedCompression 
BestSizeCompression 

Definition at line 26 of file Compression.h.

Function Documentation

◆ compress()

Error llvm::zlib::compress ( StringRef  InputBuffer,
SmallVectorImpl< char > &  CompressedBuffer,
CompressionLevel  Level = DefaultCompression 
)

◆ crc32()

uint32_t llvm::zlib::crc32 ( StringRef  Buffer)

◆ isAvailable()

bool llvm::zlib::isAvailable ( )

◆ uncompress() [1/2]

Error llvm::zlib::uncompress ( StringRef  InputBuffer,
char UncompressedBuffer,
size_t &  UncompressedSize 
)

◆ uncompress() [2/2]

Error llvm::zlib::uncompress ( StringRef  InputBuffer,
SmallVectorImpl< char > &  UncompressedBuffer,
size_t  UncompressedSize 
)