code: def get_binary_stdout() -> t.BinaryIO:
      writer = _find_binary_writer(sys.stdout)
      if writer is None:
          raise RuntimeError(
              "Was not able to determine binary stream for sys.stdout."
          )
      return writer
  
imports: import codecs
  import io
  import os
  import re
  import sys
  import typing
  from weakref import WeakKeyDictionary
label_desc: Use image node_id 15 for calling a global function with example usage: get_binary_stdout() and returns: writer