Click or drag to resize

SeekTask Class

Represents a temporary seek to another position which is undone after the task has been disposed.
Inheritance Hierarchy
SystemObject
  Syroot.BinaryDataSeekTask

Namespace:  Syroot.BinaryData
Assembly:  Syroot.BinaryData (in Syroot.BinaryData.dll) Version: 4.0.0
Syntax
public class SeekTask : IDisposable

The SeekTask type exposes the following members.

Constructors
  NameDescription
Public methodSeekTask
Initializes a new instance of the SeekTask class to temporarily seek the given Stream to the specified position. The Stream is rewound to its previous position after the task is disposed.
Top
Properties
  NameDescription
Public propertyPreviousPosition
Gets the absolute position to which the Stream will be rewound when this task is disposed.
Public propertyStream
Gets the Stream which is temporarily sought to another position.
Top
Methods
  NameDescription
Public methodDispose
Rewinds the Stream to its previous position.
Top
See Also