contentLength

abstract val contentLength: Long

The number of bytes that will be written when calling writeTo, or -1 if that count is unknown.