Click or drag to resize

Seek Class

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

Namespace:  Syroot.BinaryData
Assembly:  Syroot.BinaryData (in Syroot.BinaryData.dll) Version: 5.0.0-beta1
Syntax
public class Seek : IDisposable

The Seek type exposes the following members.

Constructors
  NameDescription
Public methodSeek
Initializes a new instance of the Seek 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
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Rewinds the stream to t he previous position.
Top
See Also