src/Bunny/Protocol/Buffer.php
public function readUint16($offset = 0)
    {
        $s = $this->read(2, $offset);
        list(, $ret) = unpack("n", $s);
        return $ret;
    }
public function readUint16($offset = 0)
    {
        $s = $this->read(2, $offset);
        list(, $ret) = unpack("n", $s);
        return $ret;
    }
public function readUint16 ( $ offset = 0 ) { $ s = $ this -> read ( 2 , $ offset ) ; list ( , $ ret ) = unpack ( "n" , $ s ) ; return $ ret ; }
Reads unsigned 16-bit integer from buffer.

@param int $offset
@return int
Reads unsigned 16 - bit integer from buffer .