Seek()

NetworkStream::Seek(int64_t, IO::SeekOrigin) method

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

int64_t System::Net::Sockets::NetworkStream::Seek(int64_t offset, IO::SeekOrigin origin) override

Arguments

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

Return Value

The new position of the stream

See Also