parameters: (value)
return_statement: return f.getvalue()
docstring: Return 'value' as a plist-formatted bytes object.
  
      This function is deprecated, use dumps instead.
docstring_summary: Return 'value' as a plist-formatted bytes object.
docstring_tokens: Return value as a plist - formatted bytes object .
function: def writePlistToBytes(value):
      """
      Return 'value' as a plist-formatted bytes object.
  
      This function is deprecated, use dumps instead.
      """
      warn("The writePlistToBytes function is deprecated, use dumps() instead",
          DeprecationWarning, 2)
      f = BytesIO()
      dump(value, f, fmt=FMT_XML, sort_keys=True, skipkeys=False)
      return f.getvalue()
function_tokens: def writePlistToBytes ( value ) : warn ( "The writePlistToBytes function is deprecated, use dumps() instead" , DeprecationWarning , 2 ) f = BytesIO ( ) dump ( value , f , fmt = FMT_XML , sort_keys = True , skipkeys = False ) return f . getvalue ( )