src/Bunny/Protocol/Buffer.php
public function consumeInt16()
    {
        $s = $this->consume(2);
        list(, $ret) = unpack("s", self::$isLittleEndian ? self::swapEndian16($s) : $s);
        return $ret;
    }
public function consumeInt16()
    {
        $s = $this->consume(2);
        list(, $ret) = unpack("s", self::$isLittleEndian ? self::swapEndian16($s) : $s);
        return $ret;
    }
public function consumeInt16 ( ) { $ s = $ this -> consume ( 2 ) ; list ( , $ ret ) = unpack ( "s" , self :: $ isLittleEndian ? self :: swapEndian16 ( $ s ) : $ s ) ; return $ ret ; }
Reads and discards signed 16-bit integer from buffer.

@return int
Reads and discards signed 16 - bit integer from buffer .