class_docstr: Preprocessor that turns a MultiBinary space into a Box.
  
  Note: Before RLModules were introduced, RLlib's ModelCatalogV2 would produce
  ComplexInputNetworks that treat MultiBinary spaces as Boxes. This preprocessor is
  needed to get rid of the ComplexInputNetworks and use RLModules instead because
  RLModules lack the logic to handle MultiBinary or other non-Box spaces.
code: def write(
      self, observation: TensorType, array: np.ndarray, offset: int
  ) -> None:
      array[offset : offset + self._size] = np.array(
          observation, copy=False
      ).ravel()
  
imports: from collections import OrderedDict
  import logging
  import numpy
  import gymnasium
  from typing import Any, List
  from ray.rllib.utils.annotations import override, PublicAPI, DeveloperAPI
  from ray.rllib.utils.spaces.repeated import Repeated
  from ray.rllib.utils.typing import TensorType
  from ray.rllib.utils.images import resize
  from ray.rllib.utils.spaces.space_utils import convert_element_to_space_type
label_desc: Use image node_id 3 for calling the MultiBinaryPreprocessor obj's underlying member method code with example usage: obj.write(observation, array, offset) without return types