parameters: (self)
docstring: Read a record as string
  
          Returns
          ----------
          buf : string
              buffer read.
docstring_summary: Read a record as string
docstring_tokens: Read a record as string
function: def read(self):
          """Read a record as string
  
          Returns
          ----------
          buf : string
              buffer read.
          """
          assert not self.writable
          buf = ctypes.c_char_p()
          size = ctypes.c_size_t()
          check_call(_LIB.MXRecordIOReaderReadRecord(self.handle,
                                                     ctypes.byref(buf),
                                                     ctypes.byref(size)))
          if buf:
              buf = ctypes.cast(buf, ctypes.POINTER(ctypes.c_char*size.value))
              return buf.contents.raw
          else:
              return None
function_tokens: def read ( self ) : assert not self . writable buf = ctypes . c_char_p ( ) size = ctypes . c_size_t ( ) check_call ( _LIB . MXRecordIOReaderReadRecord ( self . handle , ctypes . byref ( buf ) , ctypes . byref ( size ) ) ) if buf : buf = ctypes . cast ( buf , ctypes . POINTER ( ctypes . c_char * size . value ) ) return buf . contents . raw else : return None