totalBytesRead

Deprecated (with error)

Counter is no longer available on the regular ByteReadChannel. Use CounterByteReadChannel instead.

Replace with

this.counted().totalBytesRead