code: def parse_memory_in_bytes(memory_string: str) -> Optional[int]:
      match = MEMORY_REGEX.fullmatch(memory_string)
      if match:
          number = float(match.group(1))
          suffix = match.group(2)
          if suffix:
              return math.ceil(number * conv_factor[suffix])
          return math.ceil(number)
      return None
  
imports: from typing import Optional, Mapping, Pattern
  import re
  import math
label_desc: Use image node_id 2 for calling a global function with example usage: parse_memory_in_bytes(memory_string) and returns: None, math, math