MongoDB  2.7.0
Public Member Functions | Public Attributes | List of all members
mongo::Checksum Struct Reference

a simple, rather dumb, but very fast checksum. More...

#include <checksum.h>

Public Member Functions

void gen (const void *buf, unsigned len)
 
bool operator== (const Checksum &rhs) const
 
bool operator!= (const Checksum &rhs) const
 

Public Attributes

union {
   unsigned char   bytes [16]
 
   unsigned long long   words [2]
 
}; 
 

Detailed Description

a simple, rather dumb, but very fast checksum.

see perftests.cpp for unit tests.


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