src/Binary/StreamWriter.php
public function writeStream(Stream $stream, Stream $value, $length = null)
    {
        if ($length === null) {
            $length = $value->getSize();
        }

        $stream->writeStream($value, $length);
    }
public function writeStream(Stream $stream, Stream $value, $length = null)
    {
        if ($length === null) {
            $length = $value->getSize();
        }

        $stream->writeStream($value, $length);
    }
public function writeStream ( Stream $ stream , Stream $ value , $ length = null ) { if ( $ length === null ) { $ length = $ value -> getSize ( ) ; } $ stream -> writeStream ( $ value , $ length ) ; }
Write the given stream.

@param \Protobuf\Stream $stream
@param \Protobuf\Stream $value
@param int              $length
Write the given stream .