Property

BinaryStream.Position


Warning

This item was deprecated in version 2019r2. Please use BinaryStream.BytePosition as a replacement.

Description

Gets or sets the current file Position in the BinaryStream. The first Position is numbered zero.

Notes

This property is automatically incremented by all of the Read and Write methods.

To move the Position to the end of the stream, you can set it to BinaryStream.Length.

Sample code

This code changes the Position from the default Position of zero.

readStream.Position = 100

Compatibility

All project types on all supported operating systems.