parameters: (ptr)
docstring: To wrap bytes return-value from C-API.
docstring_summary: To wrap bytes return-value from C-API.
docstring_tokens: To wrap bytes return - value from C - API .
function: def ret_bytes(ptr):
      """To wrap bytes return-value from C-API.
      """
      if ptr is not None:
          return OutputString.from_return(ptr).bytes
function_tokens: def ret_bytes ( ptr ) : if ptr is not None : return OutputString . from_return ( ptr ) . bytes