Write this message to a {@link Swift_InputByteStream}.
public toByteStream ( Swift_InputByteStream $is ) | ||
$is | Swift_InputByteStream |
/** * Write this message to a {@link Swift_InputByteStream}. * * @param Swift_InputByteStream $is */ public function toByteStream(Swift_InputByteStream $is) { if (empty($this->headerSigners) && empty($this->bodySigners)) { parent::toByteStream($is); return; } $this->saveMessage(); $this->doSign(); parent::toByteStream($is); $this->restoreMessage(); }