Horde_ActiveSync_Wbxml_Decoder::getFullInputStream PHP Méthode

getFullInputStream() public méthode

Return the full, raw, input stream. Used for things like SendMail request where we don't have wbxml to parse. The calling code is responsible for closing the stream.
public getFullInputStream ( ) : resource
Résultat resource
    public function getFullInputStream()
    {
        // Ensure the buffer was created
        $this->_getTempStream();
        // Need to read the stream into memeory since php://input isn't
        // always seekable (Bug: 13160);
        $this->_buffer->add($this->_stream->getString());
        $this->_buffer->rewind();
        return $this->_buffer->stream;
    }