Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Util.Streams.CRC32Stream

Summary

Calculates CRC32 checksum of all values that are read/written via this stream. Seeking is ignored. All the bytes seeked over will be ignored.

Constructors

CRC32Stream(Stream stream)
This member is not documented.

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 a chunk of bytes from the underlying stream. Updates the CRC with the data read.
long
Seek(long offset, SeekOrigin origin)
  • Overrides: Stream.Seek(long, SeekOrigin)
These members are not documented.
void
SetLength(long value)
  • Overrides: Stream.SetLength(long)
void
Write(byte[] buffer, int offset, int count)
  • Overrides: Stream.Write(byte[], int, int)
Writes a chunk of bytes to the underlying stream. Updates the CRC with the data written.

Instance properties

Stream The underlying stream to/from which writing/reading is performed.
bool
  • Overrides: Stream.CanRead
These members are not documented.
bool
  • Overrides: Stream.CanSeek
bool
  • Overrides: Stream.CanWrite
uint Gets the current value of the CRC32 for all the bytes that passed through this stream.
long
  • Overrides: Stream.Length
These members are not documented.
long
  • Overrides: Stream.Position