Ejemplo n.º 1
0
 /// <summary>
 /// Initialises an rsync calculation stream using the specified stream as the
 /// underlying stream and the specified rsync window size (number of bytes)
 /// </summary>
 public RSyncChecksumStream(Stream stream, int window)
 {
     _stream = stream;
     _calc   = new RSyncChecksumCalculator(window);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initialises an rsync calculation stream using the specified stream as the
 /// underlying stream and the specified rsync window size (number of bytes)
 /// </summary>
 public RSyncChecksumStream(Stream stream, int window)
 {
     _stream = stream;
     _calc = new RSyncChecksumCalculator(window);
 }