libtorrent::adler32_crc Class Reference

#include <hasher.hpp>

List of all members.

Public Member Functions

 adler32_crc ()
void update (const char *data, int len)
unsigned long final () const
void reset ()

Private Attributes

unsigned long m_adler


Detailed Description

Definition at line 63 of file hasher.hpp.


Constructor & Destructor Documentation

libtorrent::adler32_crc::adler32_crc (  )  [inline]

Definition at line 66 of file hasher.hpp.


Member Function Documentation

void libtorrent::adler32_crc::update ( const char *  data,
int  len 
) [inline]

Definition at line 68 of file hasher.hpp.

References adler32(), and m_adler.

Referenced by libtorrent::piece_manager::impl::piece_crc().

unsigned long libtorrent::adler32_crc::final (  )  const [inline]

Definition at line 74 of file hasher.hpp.

References m_adler.

Referenced by libtorrent::piece_manager::impl::piece_crc().

void libtorrent::adler32_crc::reset (  )  [inline]

Definition at line 75 of file hasher.hpp.

References adler32(), and m_adler.


Member Data Documentation

unsigned long libtorrent::adler32_crc::m_adler [private]

Definition at line 79 of file hasher.hpp.

Referenced by final(), reset(), and update().


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

Generated on Sun May 25 00:21:41 2008 by  doxygen 1.5.6