src/Binary/StreamReader.php
public function readFixed32(Stream $stream)
    {
        $bytes = $stream->read(4);

        if (PHP_INT_SIZE < 8) {
            list(, $lo, $hi) = unpack('v*', $bytes);

            return $hi << 16 | $lo;
        }

        list(, $result) = unpack('V*', $bytes);

        return $result;
    }
public function readFixed32(Stream $stream)
    {
        $bytes = $stream->read(4);

        if (PHP_INT_SIZE < 8) {
            list(, $lo, $hi) = unpack('v*', $bytes);

            return $hi << 16 | $lo;
        }

        list(, $result) = unpack('V*', $bytes);

        return $result;
    }
public function readFixed32 ( Stream $ stream ) { $ bytes = $ stream -> read ( 4 ) ; if ( PHP_INT_SIZE < 8 ) { list ( , $ lo , $ hi ) = unpack ( 'v*' , $ bytes ) ; return $ hi << 16 | $ lo ; } list ( , $ result ) = unpack ( 'V*' , $ bytes ) ; return $ result ; }
Decode a fixed 32bit integer without sign.

@param \Protobuf\Stream $stream

@return integer
Decode a fixed 32bit integer without sign .