|
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.315-beta+4adf42f504c53785d91f363b84ec3ef7639a1462
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