Seek()

BinaryWriter::Seek(int, System::IO::SeekOrigin) method

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

int64_t System::IO::BinaryWriter::Seek(int offset, System::IO::SeekOrigin origin=System::IO::SeekOrigin::Begin)

Arguments

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

Return Value

The new position of the stream

See Also