ord

abstract fun ord(): Int

Returns the current ord in the stream (number of values that have been written so far minus one).