Amfphp_Core_Amf_Deserializer::readLongUTF PHP Method

readLongUTF() protected method

Then it grabs the next (len) bytes of the resulting in the string
protected readLongUTF ( ) : string
return string The utf8 decoded string
    protected function readLongUTF()
    {
        $length = $this->readLong();
        // get the length of the string (1st 4 bytes)
        $val = substr($this->rawData, $this->currentByte, $length);
        // grab the string
        $this->currentByte += $length;
        // move the seek head to the end of the string
        return $val;
        // return the string
    }