code: def pack(o, default=encode,
           encoding='utf-8', unicode_errors='strict', use_single_float=False,
           autoreset=1, use_bin_type=1):
      
  
      return Packer(default=default, encoding=encoding,
                    unicode_errors=unicode_errors,
                    use_single_float=use_single_float,
                    autoreset=autoreset,
                    use_bin_type=use_bin_type).pack(o)
docs: Pack an object and return the packed bytes.