SshChannel.pendingWriteBytes

size_t pendingWriteBytes() @property const;

Returns

the number of bytes accepted by write but not yet

confirmed flushed to the session transport.