code: def tobytes(s):
      return memoryview(s).tobytes()
  
file_path: mpi4py/test/test_pickle.py
imports: from mpi4py import MPI
  import mpiunittest
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: tobytes(s) and returns: memoryview