library/AMQP/Wire/Writer.php
public function writeOctet($n)
    {
        if ($n < 0 || $n > 255) {
            throw new \InvalidArgumentException('Octet out of range 0..255');
        }

        $this->flushBits();
        $this->out .= chr($n);
        return $this;
    }
public function writeOctet($n)
    {
        if ($n < 0 || $n > 255) {
            throw new \InvalidArgumentException('Octet out of range 0..255');
        }

        $this->flushBits();
        $this->out .= chr($n);
        return $this;
    }
public function writeOctet ( $ n ) { if ( $ n < 0 || $ n > 255 ) { throw new \ InvalidArgumentException ( 'Octet out of range 0..255' ) ; } $ this -> flushBits ( ) ; $ this -> out .= chr ( $ n ) ; return $ this ; }
Write an integer as an unsigned 8-bit value.

@param $n

@return Writer
@throws \InvalidArgumentException
Write an integer as an unsigned 8 - bit value .