ktor-io / io.ktor.utils.io / ByteChannelSequentialBase / totalBytesRead

totalBytesRead

open val totalBytesRead: Long

Overrides ByteReadChannel.totalBytesRead

Number of bytes read from the channel. It is not guaranteed to be atomic so could be updated in the middle of long running read operation.