|
BlockAllocatedMemoryStreamSeek Method
|
Sets the
Position within the current stream to the specified value relative the
origin.
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.322-beta+23e5f0c4a5ec41c0eb4a07dfa487a9d04edc053e
Syntaxfunction Seek(offset, origin);
View SourceParameters
- offset Int64
- The new position within the stream. This is relative to the origin parameter, and can be positive or negative.
- origin SeekOrigin
- A value of type SeekOrigin, which acts as the seek reference point.
Return Value
Int64
The new position within the stream, calculated by combining the initial reference point and the offset.
Exceptions
See Also