Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Util.Streams.RSyncChecksumStream

Summary

Calculates rsync checksum of all values that are read/written via this stream.

Constructors

RSyncChecksumStream(Stream stream, int window)
Initialises an rsync calculation stream using the specified stream as the underlying stream and the specified rsync window size (number of bytes)

Instance methods

void
  • Overrides: Stream.Flush()
This member is not documented.
int
Read(byte[] buffer, int offset, int count)
  • Overrides: Stream.Read(byte[], int, int)
Reads data from the underlying stream. Updates the RSync with the bytes read.
long
Seek(long offset, SeekOrigin origin)
  • Overrides: Stream.Seek(long, SeekOrigin)
Seeking is ignored (but propagated to the underlying stream). All the bytes seeked over will be ignored.
void
SetLength(long value)
  • Overrides: Stream.SetLength(long)
This member is not documented.
void
Write(byte[] buffer, int offset, int count)
  • Overrides: Stream.Write(byte[], int, int)
Writes data to the underlying stream. Updates the RSync with the bytes written.

Instance properties

Stream This is the underlying stream. All reads/writes and most other operations on this class are performed on this underlying stream.
bool
  • Overrides: Stream.CanRead
These members are not documented.
bool
  • Overrides: Stream.CanSeek
bool
  • Overrides: Stream.CanWrite
uint Returns the rsync checksum calculated so far for all the bytes read/written.
byte[]
long
  • Overrides: Stream.Length
These members are not documented.
long
  • Overrides: Stream.Position