(content)
return content
Get binary content for binary_writer.
Get binary content for binary_writer.
Get binary content for binary_writer .
def get_binary_content(content):
    """Get binary content for binary_writer."""
    if isinstance(content, text_type):
        return content.encode('utf-8')
    return content
def get_binary_content ( content ) : if isinstance ( content , text_type ) : return content . encode ( 'utf-8' ) return content