(ob, hex=False, **kw)
Dump a WKB representation of a geometry to a byte string, or a
    hex-encoded string if ``hex=True``.

    See available keyword output settings in ``shapely.geos.WKBWriter``.
Dump a WKB representation of a geometry to a byte string, or a
    hex-encoded string if ``hex=True``.
Dump a WKB representation of a geometry to a byte string or a hex - encoded string if hex = True .
def dumps(ob, hex=False, **kw):
    """Dump a WKB representation of a geometry to a byte string, or a
    hex-encoded string if ``hex=True``.

    See available keyword output settings in ``shapely.geos.WKBWriter``."""
    writer = geos.WKBWriter(geos.lgeos, **kw)
    if hex:
        return writer.write_hex(ob)
    else:
        return writer.write(ob)
def dumps ( ob , hex = False , * * kw ) : writer = geos . WKBWriter ( geos . lgeos , * * kw ) if hex : return writer . write_hex ( ob ) else : return writer . write ( ob )