class_docstr: A MediaFile stored in memory.
code: def content_size(self) -> int:
      return len(self.content)
  
imports: import contextlib
  import hashlib
  import mimetypes
  import os.path
  from typing import Dict, List, NamedTuple, Optional, Union
  from typing_extensions import Final
  from streamlit.logger import get_logger
  from streamlit.runtime.media_file_storage import MediaFileKind, MediaFileStorage, MediaFileStorageError
  from streamlit.runtime.stats import CacheStat, CacheStatsProvider, group_stats
  from streamlit.util import HASHLIB_KWARGS
label_desc: Use image node_id 1 for calling the MemoryFile obj's underlying member method code with example usage: obj.content_size() and returns: len