Seek()

UnmanagedMemoryStream::Seek(int64_t, SeekOrigin) method

Sets the position of the stream represented by the current object.

virtual int64_t System::IO::UnmanagedMemoryStream::Seek(int64_t offset, SeekOrigin loc) override

Arguments

ParameterTypeDescription
offsetint64_tThe byte offset relative to a position specified by origin
locSeekOriginSpecifies the position from which and the direction toward which the offset is calculated

Return Value

The new position of the stream

See Also