|
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.318-beta+1903aa0cac9da84c743b0be24a37b293aa4151b2
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