'Returns a _pointer_ to C GEOS Geometry object from the given WKB.'

def read(self, wkb):

    if isinstance(wkb, buffer):
        wkb_s = str(wkb)
        return wkb_reader_read(self.ptr, wkb_s, len(wkb_s))
    elif isinstance(wkb, basestring):
        return wkb_reader_read_hex(self.ptr, wkb, len(wkb))
    else:
        raise TypeError
