bufferedAmount

open fun bufferedAmount(): Long

Return the number of bytes of application data (UTF-8 text and binary data) that have been queued using SendBuffer but have not yet been transmitted to the network.