code/libraries/joomlatools/library/filesystem/stream/abstract.php
public function getSize()
    {
        // If the stream is a file based stream and local, then use fstat
        clearstatcache(true, $this->getPath());

        $info = $this->getInfo();

        if (isset($info['size'])) {
            $size = $info['size'];
        } else {
            $size = strlen((string) $this->toString());
        }

        return $size;
    }
public function getSize()
    {
        // If the stream is a file based stream and local, then use fstat
        clearstatcache(true, $this->getPath());

        $info = $this->getInfo();

        if (isset($info['size'])) {
            $size = $info['size'];
        } else {
            $size = strlen((string) $this->toString());
        }

        return $size;
    }
public function getSize ( ) { // If the stream is a file based stream and local, then use fstat clearstatcache ( true , $ this -> getPath ( ) ) ; $ info = $ this -> getInfo ( ) ; if ( isset ( $ info [ 'size' ] ) ) { $ size = $ info [ 'size' ] ; } else { $ size = strlen ( ( string ) $ this -> toString ( ) ) ; } return $ size ; }
Get the size of the stream

@return int|bool
Get the size of the stream