def write(self, geom):
        return six.memoryview(wkb_writer_write(self.ptr, geom.ptr, byref(c_size_t())))
Returns the WKB representation of the given geometry.
dataset/ETHPy150Open django/django/django/contrib/gis/geos/prototypes/io.py/WKBWriter.write