Developer Documentation
snappy::SnappyDecompressor Class Reference

Public Member Functions

 SnappyDecompressor (Source *reader)
 
bool eof () const
 
bool ReadUncompressedLength (uint32 *result)
 
template<class Writer >
void DecompressAllTags (Writer *writer)
 

Private Member Functions

bool RefillTag ()
 

Private Attributes

Sourcereader_
 
const char * ip_
 
const char * ip_limit_
 
uint32 peeked_
 
bool eof_
 
char scratch_ [kMaximumTagLength]
 

Detailed Description

Definition at line 655 of file snappy.cc.

Constructor & Destructor Documentation

◆ SnappyDecompressor()

snappy::SnappyDecompressor::SnappyDecompressor ( Source reader)
inlineexplicit

Definition at line 672 of file snappy.cc.

◆ ~SnappyDecompressor()

snappy::SnappyDecompressor::~SnappyDecompressor ( )
inline

Definition at line 681 of file snappy.cc.

Member Function Documentation

◆ DecompressAllTags()

template<class Writer >
void snappy::SnappyDecompressor::DecompressAllTags ( Writer *  writer)
inline

Definition at line 718 of file snappy.cc.

◆ eof()

bool snappy::SnappyDecompressor::eof ( ) const
inline

Definition at line 687 of file snappy.cc.

◆ ReadUncompressedLength()

bool snappy::SnappyDecompressor::ReadUncompressedLength ( uint32 *  result)
inline

Definition at line 694 of file snappy.cc.

◆ RefillTag()

bool snappy::SnappyDecompressor::RefillTag ( )
private

Definition at line 792 of file snappy.cc.

Member Data Documentation

◆ eof_

bool snappy::SnappyDecompressor::eof_
private

Definition at line 661 of file snappy.cc.

◆ ip_

const char* snappy::SnappyDecompressor::ip_
private

Definition at line 658 of file snappy.cc.

◆ ip_limit_

const char* snappy::SnappyDecompressor::ip_limit_
private

Definition at line 659 of file snappy.cc.

◆ peeked_

uint32 snappy::SnappyDecompressor::peeked_
private

Definition at line 660 of file snappy.cc.

◆ reader_

Source* snappy::SnappyDecompressor::reader_
private

Definition at line 657 of file snappy.cc.

◆ scratch_

char snappy::SnappyDecompressor::scratch_[kMaximumTagLength]
private

Definition at line 662 of file snappy.cc.


The documentation for this class was generated from the following file: