@spiceErrorCheck<EOL>def dafec(handle, bufsiz, lenout=_default_len_out):
handle = ctypes.c_int(handle)<EOL>buffer = stypes.emptyCharArray(yLen=bufsiz, xLen=lenout)<EOL>bufsiz = ctypes.c_int(bufsiz)<EOL>lenout = ctypes.c_int(lenout)<EOL>n = ctypes.c_int()<EOL>done = ctypes.c_int()<EOL>libspice.dafec_c(handle, bufsiz, lenout, ctypes.byref(n),<EOL>ctypes.byref(buffer), ctypes.byref(done))<EOL>return n.value, stypes.cVectorToPython(buffer), bool(done.value)<EOL>
Extract comments from the comment area of a binary DAF.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/dafec_c.html

:param handle: Handle of binary DAF opened with read access.
:type handle: int
:param bufsiz: Maximum size, in lines, of buffer.
:type bufsiz: int
:param lenout: Length of strings in output buffer.
:type lenout: int
:return:
        Number of extracted comment lines,
        buffer where extracted comment lines are placed,
        Indicates whether all comments have been extracted.
:rtype: tuple