PhpAmqpLib/Wire/AMQPWriter.php
public function write_octet($n)
    {
        if ($n < 0 || $n > 255) {
            throw new AMQPInvalidArgumentException('Octet out of range: ' . $n);
        }

        $this->out .= chr($n);

        return $this;
    }
public function write_octet($n)
    {
        if ($n < 0 || $n > 255) {
            throw new AMQPInvalidArgumentException('Octet out of range: ' . $n);
        }

        $this->out .= chr($n);

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

@param int $n
@return $this
@throws \PhpAmqpLib\Exception\AMQPInvalidArgumentException
Write an integer as an unsigned 8 - bit value