Esempio 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);
 }
Esempio 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);
 }