class_docstr: The main top-level class that you instantiate once, or once per module.
  
  Example usage:
  
      ffi = FFI()
      ffi.cdef("""
          int printf(const char *, ...);
      """)
  
      C = ffi.dlopen(None)   # standard library
      -or-
      C = ffi.verify()  # use a C compiler: verify the decl above is right
  
      C.printf("hello, %s!\n", ffi.new("char[]", "world"))
class_docstr_tok: ["The","main","top-level","class","that","you","instantiate","once",",","or","once","per","module",".","Example","usage",":","ffi","=","FFI","(",")","ffi.cdef","(","``","''","''","int","printf","(","const","char","*",",","...",")",";","``","''","''",")","C","=","ffi.dlopen","(","None",")","#","standard","library","-or-","C","=","ffi.verify","(",")","#","use","a","C","compiler",":","verify","the","decl","above","is","right","C.printf","(","``","hello",",","%","s","!","\\n","''",",","ffi.new","(","``","char","[","]","''",",","``","world","''",")",")"]
docstr: Return a Python string (or unicode string) from the 'cdata'.
  If 'cdata' is a pointer or array of characters or bytes, returns
  the null-terminated string.  The returned string extends until
  the first null character, or at most 'maxlen' characters.  If
  'cdata' is an array then 'maxlen' defaults to its length.
  
  If 'cdata' is a pointer or array of wchar_t, returns a unicode
  string following the same rules.
  
  If 'cdata' is a single character or byte or a wchar_t, returns
  it as a string or unicode string.
  
  If 'cdata' is an enum, returns the value of the enumerator as a
  string, or 'NUMBER' if the value is out of range.
code: def string(self, cdata, maxlen=-1):
      """Return a Python string (or unicode string) from the 'cdata'.
      If 'cdata' is a pointer or array of characters or bytes, returns
      the null-terminated string.  The returned string extends until
      the first null character, or at most 'maxlen' characters.  If
      'cdata' is an array then 'maxlen' defaults to its length.
  
      If 'cdata' is a pointer or array of wchar_t, returns a unicode
      string following the same rules.
  
      If 'cdata' is a single character or byte or a wchar_t, returns
      it as a string or unicode string.
  
      If 'cdata' is an enum, returns the value of the enumerator as a
      string, or 'NUMBER' if the value is out of range.
      """
      return self._backend.string(cdata, maxlen)
  
imports: import sys, types
  from .lock import allocate_lock
  from .error import CDefError
  from .None import model
label_desc: Use image node_id 16 for calling the FFI obj's underlying member method code with example usage: obj.string(cdata, maxlen) and returns: self