org.w3c.dom.DOMLocator.byteOffset
property
public readonly property byteOffset as Int
Description

Byte offset, or -1 when unknown.

Example
print(locator.byteOffset)