lib/Doctrine/CouchDB/Attachment.php
public function getLength()
    {
        if (!$this->stub && !is_int($this->length)) {
            $this->length = strlen($this->data);
        }

        return $this->length;
    }
public function getLength()
    {
        if (!$this->stub && !is_int($this->length)) {
            $this->length = strlen($this->data);
        }

        return $this->length;
    }
public function getLength ( ) { if ( ! $ this -> stub && ! is_int ( $ this -> length ) ) { $ this -> length = strlen ( $ this -> data ) ; } return $ this -> length ; }
Get the length of the base64 encoded representation of this attachment.

@return int
Get the length of the base64 encoded representation of this attachment .