public function writeFromBuffer(\EventBuffer $src, $n) { if (!isset($this->bev)) { return false; } $this->writing = true; return $this->bev->output->appendFrom($src, $n); }