

def write(self, geom):
    'Returns the WKB representation of the given geometry.'
    return six.memoryview(wkb_writer_write(self.ptr, geom.ptr, byref(c_size_t())))

dataset/ETHPy150Open django/django/django/contrib/gis/geos/prototypes/io.py WKBWriter.write/original