Seek()

BufferedStream::Seek(int64_t, SeekOrigin) method

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

virtual int64_t System::IO::BufferedStream::Seek(int64_t offset, SeekOrigin origin) override

Arguments

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

Return Value

The new position of the stream

See Also