Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Util.Streams.VoidStream

Summary

A stream that discards everything that goes in; all reads result in 0's. Can be used as the underlying stream for things like CRC32Stream. Pretends to be a zero-length stream that can swallow writes and length changes.

Constructors

Creates a new instance of VoidStream.

Instance methods

void
  • Overrides: Stream.Flush()
These members are not documented.
int
Read(byte[] buffer, int offset, int count)
  • Overrides: Stream.Read(byte[], int, int)
long
Seek(long offset, SeekOrigin origin)
  • Overrides: Stream.Seek(long, SeekOrigin)
void
SetLength(long value)
  • Overrides: Stream.SetLength(long)
void
Write(byte[] buffer, int offset, int count)
  • Overrides: Stream.Write(byte[], int, int)

Instance properties

bool
  • Overrides: Stream.CanRead
These members are not documented.
bool
  • Overrides: Stream.CanSeek
bool
  • Overrides: Stream.CanWrite
long
  • Overrides: Stream.Length
long
  • Overrides: Stream.Position