![]() | Measuring |
public class MeasuringStream : Stream
The MeasuringStream type exposes the following members.
Name | Description | |
---|---|---|
![]() | MeasuringStream | Initialize a new instance of the MeasuringStream class. |
Name | Description | |
---|---|---|
![]() | CanRead |
Check whether the stream supports reading.
(Overrides Stream.CanRead) |
![]() | CanSeek |
Check whether the stream supports seeking.
(Overrides Stream.CanSeek) |
![]() | CanTimeout |
Check whether reading and writing to the stream can time out.
(Overrides Stream.CanTimeout) |
![]() | CanWrite |
Check whether the stream supports writing.
(Overrides Stream.CanWrite) |
![]() | Length |
Get the length of the stream, in bytes.
(Overrides Stream.Length) |
![]() | Position |
Get or set the current position within the stream.
(Overrides Stream.Position) |
![]() | ReadTimeout | (Inherited from Stream) |
![]() | WriteTimeout | (Inherited from Stream) |
Name | Description | |
---|---|---|
![]() | BeginRead | (Inherited from Stream) |
![]() | BeginWrite | (Inherited from Stream) |
![]() | Close | (Inherited from Stream) |
![]() | CopyTo(Stream) | (Inherited from Stream) |
![]() | CopyTo(Stream, Int32) | (Inherited from Stream) |
![]() | CopyToAsync(Stream) | (Inherited from Stream) |
![]() | CopyToAsync(Stream, Int32) | (Inherited from Stream) |
![]() | CopyToAsync(Stream, Int32, CancellationToken) | (Inherited from Stream) |
![]() | CreateObjRef | (Inherited from MarshalByRefObject) |
![]() | CreateWaitHandle | Obsolete. (Inherited from Stream) |
![]() | Dispose() | (Inherited from Stream) |
![]() | Dispose(Boolean) |
Release the unmanaged resources used by the MeasuringStream and
optionally releases the managed resources.
(Overrides Stream.Dispose(Boolean)) |
![]() | EndRead | (Inherited from Stream) |
![]() | EndWrite | (Inherited from Stream) |
![]() | Equals | (Inherited from Object) |
![]() | Finalize | (Inherited from Object) |
![]() | Flush |
Clear all buffers for this stream and causes any buffered data to be written
to the underlying device.
(Overrides Stream.Flush()) |
![]() | FlushAsync() | (Inherited from Stream) |
![]() | FlushAsync(CancellationToken) |
Asynchronously clear all buffers for this stream and causes any buffered data to be written
to the underlying device.
(Overrides Stream.FlushAsync(CancellationToken)) |
![]() | GetHashCode | (Inherited from Object) |
![]() | GetLifetimeService | (Inherited from MarshalByRefObject) |
![]() | GetType | (Inherited from Object) |
![]() | InitializeLifetimeService | (Inherited from MarshalByRefObject) |
![]() | MemberwiseClone() | (Inherited from Object) |
![]() | MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject) |
![]() | ObjectInvariant | Obsolete. (Inherited from Stream) |
![]() | Read |
Read a sequence of bytes from the stream and advances the position
within the stream by the number of bytes read.
(Overrides Stream.Read(Byte[], Int32, Int32)) |
![]() | ReadAsync(Byte[], Int32, Int32) | (Inherited from Stream) |
![]() | ReadAsync(Byte[], Int32, Int32, CancellationToken) |
Asynchronously read a sequence of bytes from the stream and advances the position
within the stream by the number of bytes read.
(Overrides Stream.ReadAsync(Byte[], Int32, Int32, CancellationToken)) |
![]() | ReadByte | (Inherited from Stream) |
![]() | Seek |
Set the position within the current stream.
(Overrides Stream.Seek(Int64, SeekOrigin)) |
![]() | SetLength |
Set the length of the stream.
(Overrides Stream.SetLength(Int64)) |
![]() | ToString | (Inherited from Object) |
![]() | Write |
Write a sequence of bytes to the stream and advances the current
position within this stream by the number of bytes written.
(Overrides Stream.Write(Byte[], Int32, Int32)) |
![]() | WriteAsync(Byte[], Int32, Int32) | (Inherited from Stream) |
![]() | WriteAsync(Byte[], Int32, Int32, CancellationToken) |
Asynchronously write a sequence of bytes to the stream and advances the current
position within this stream by the number of bytes written.
(Overrides Stream.WriteAsync(Byte[], Int32, Int32, CancellationToken)) |
![]() | WriteByte | (Inherited from Stream) |