<div class="meta" robots="noindex">

</div>

Property

# BinaryStream.Position

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2019r2. Please use `BinaryStream.BytePosition<binarystream.byteposition>` as a replacement.

</div>

## Description

Gets or sets the current file <span class="title-ref">Position</span> in the **BinaryStream**. The first <span class="title-ref">Position</span> is numbered zero.

## Notes

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

To move the <span class="title-ref">Position</span> to the end of the stream, you can set it to `BinaryStream.Length<binarystream.length>`.

## Sample code

This code changes the <span class="title-ref">Position</span> from the default <span class="title-ref">Position</span> of zero.

``` xojo
readStream.Position = 100
```

## Compatibility

All project types on all supported operating systems.
