System::IO::MemoryStream::Seek method

MemoryStream::Seek method

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

int64_t System::IO::MemoryStream::Seek(int64_t offset, SeekOrigin origin) override
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

ReturnValue

The new position of the stream

See Also