MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / read_stringmap

Function read_stringmap

cassandra/protocol.py:1390–1396  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

1388
1389
1390def read_stringmap(f):
1391 numpairs = read_short(f)
1392 strmap = {}
1393 for _ in range(numpairs):
1394 k = read_string(f)
1395 strmap[k] = read_string(f)
1396 return strmap
1397
1398
1399def write_stringmap(f, strmap):

Callers 1

Calls 2

read_shortFunction · 0.85
read_stringFunction · 0.85

Tested by 1