protected function _getDataFromBucket($in, &$consumed)
    {
        $data = '';
        while ($bucket = stream_bucket_make_writeable($in)) {
            $data .= $bucket->data;
            $consumed += $bucket->datalen;
        }

        return $data;
    }
protected function _getDataFromBucket($in, &$consumed)
    {
        $data = '';
        while ($bucket = stream_bucket_make_writeable($in)) {
            $data .= $bucket->data;
            $consumed += $bucket->datalen;
        }

        return $data;
    }
protected function _getDataFromBucket ( $ in , & $ consumed ) { $ data = '' ; while ( $ bucket = stream_bucket_make_writeable ( $ in ) ) { $ data .= $ bucket -> data ; $ consumed += $ bucket -> datalen ; } return $ data ; }
Read Data From Bucket

@param resource $in       userfilter.bucket brigade
@param int      $consumed
@return string
Read Data From Bucket