From Xojo Documentation

You are currently browsing the old Xojo documentation site. It will go offline as of October 2, 2023. Please visit the new Xojo documentation site! - you will be redirected shortly...

Property (As UInt64 )
aTextInputStream.BytePosition = newUInt64Value
UInt64Value = aTextInputStream.BytePosition

New in 2019r2

Supported for all project types and targets.

Indicates the byte position of the file pointer, not the character position.