src/Io/Buffer.php
public function readStringLen()
    {
        $l = $this->readIntLen();
        if ($l === null) {
            return $l;
        }

        return $this->read($l);
    }
public function readStringLen()
    {
        $l = $this->readIntLen();
        if ($l === null) {
            return $l;
        }

        return $this->read($l);
    }
public function readStringLen ( ) { $ l = $ this -> readIntLen ( ) ; if ( $ l === null ) { return $ l ; } return $ this -> read ( $ l ) ; }
Parses length-encoded binary string

@return string|null decoded string or null if length indicates null
Parses length - encoded binary string