lib/classes/Swift/Plugins/BandwidthMonitorPlugin.php
public function write($bytes)
    {
        $this->out += strlen($bytes);
        foreach ($this->mirrors as $stream) {
            $stream->write($bytes);
        }
    }
public function write($bytes)
    {
        $this->out += strlen($bytes);
        foreach ($this->mirrors as $stream) {
            $stream->write($bytes);
        }
    }
public function write ( $ bytes ) { $ this -> out += strlen ( $ bytes ) ; foreach ( $ this -> mirrors as $ stream ) { $ stream -> write ( $ bytes ) ; } }
Called when a message is sent so that the outgoing counter can be increased.

@param string $bytes
Called when a message is sent so that the outgoing counter can be increased .