Developer Documentation
snappy::SnappyIOVecWriter Class Reference

Public Member Functions

 SnappyIOVecWriter (const struct iovec *iov, size_t iov_count)
 
void SetExpectedLength (size_t len)
 
bool CheckLength () const
 
bool Append (const char *ip, size_t len)
 
bool TryFastAppend (const char *ip, size_t available, size_t len)
 
bool AppendFromSelf (size_t offset, size_t len)
 
void Flush ()
 

Private Member Functions

char * GetIOVecPointer (int index, size_t offset)
 

Private Attributes

const struct iovecoutput_iov_
 
const size_t output_iov_count_
 
int curr_iov_index_
 
size_t curr_iov_written_
 
size_t total_written_
 
size_t output_limit_
 

Detailed Description

Definition at line 965 of file snappy.cc.


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