protected function plugSizeToBytes($plugSize)
    {
        // return size in bytes based on plugSize.
        if (isset($this->_dataSize[$plugSize])) {
            return $this->_dataSize[$plugSize];
        }

        throw new \Exception("plugSize '$plugSize' is not valid. Try one of these: " . $this->validPlugSizeList());
    }
protected function plugSizeToBytes($plugSize)
    {
        // return size in bytes based on plugSize.
        if (isset($this->_dataSize[$plugSize])) {
            return $this->_dataSize[$plugSize];
        }

        throw new \Exception("plugSize '$plugSize' is not valid. Try one of these: " . $this->validPlugSizeList());
    }
protected function plugSizeToBytes ( $ plugSize ) { // return size in bytes based on plugSize. if ( isset ( $ this -> _dataSize [ $ plugSize ] ) ) { return $ this -> _dataSize [ $ plugSize ] ; } throw new \ Exception ( "plugSize '$plugSize' is not valid. Try one of these: " . $ this -> validPlugSizeList ( ) ) ; }
return size in bytes based on plugSize.

@param $plugSize
@throws \Exception
return size in bytes based on plugSize .