src/Bunny/Protocol/ProtocolWriterGenerated.php
public function appendProtocolHeader(Buffer $buffer)
    {
        $buffer->append('AMQP');
        $buffer->appendUint8(0);
        $buffer->appendUint8(0);
        $buffer->appendUint8(9);
        $buffer->appendUint8(1);
    }
public function appendProtocolHeader(Buffer $buffer)
    {
        $buffer->append('AMQP');
        $buffer->appendUint8(0);
        $buffer->appendUint8(0);
        $buffer->appendUint8(9);
        $buffer->appendUint8(1);
    }
public function appendProtocolHeader ( Buffer $ buffer ) { $ buffer -> append ( 'AMQP' ) ; $ buffer -> appendUint8 ( 0 ) ; $ buffer -> appendUint8 ( 0 ) ; $ buffer -> appendUint8 ( 9 ) ; $ buffer -> appendUint8 ( 1 ) ; }
Appends AMQP protocol header to buffer.

@param Buffer $buffer
Appends AMQP protocol header to buffer .