Simias::Sync::Delta::HashData Class Reference

Class used to keep track of the file Blocks and hash codes assosiated with the block. More...

List of all members.

Public Member Functions

 HashData (int blockNumber, UInt32 weakHash, byte[] strongHash)
 Constructs a HashData Object.
 HashData (BinaryReader reader)
 Constructor.
void Serialize (BinaryWriter writer)

Public Attributes

int BlockNumber
 The Block number that this hash represents. 0 based.
UInt32 WeakHash
 The Weak or quick hash of this block.
byte[] StrongHash
 The strong hash of this block.

Static Public Attributes

static int InstanceSize = 4 + 4 + 16
 The serialized size of the instance.


Detailed Description

Class used to keep track of the file Blocks and hash codes assosiated with the block.


Constructor & Destructor Documentation

Simias::Sync::Delta::HashData::HashData ( int  blockNumber,
UInt32  weakHash,
byte[]  strongHash 
) [inline]

Constructs a HashData Object.

Parameters:
blockNumber 
weakHash 
strongHash 

Simias::Sync::Delta::HashData::HashData ( BinaryReader  reader  )  [inline]

Constructor.

Parameters:
reader Initialize with reader details


Member Function Documentation

void Simias::Sync::Delta::HashData::Serialize ( BinaryWriter  writer  )  [inline]

Parameters:
writer 


Member Data Documentation

The serialized size of the instance.

The Block number that this hash represents. 0 based.

The Weak or quick hash of this block.

The strong hash of this block.


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

Generated on Wed Apr 8 14:57:52 2009 for simias by  doxygen 1.5.6