MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / write_stringmap

Function write_stringmap

cassandra/protocol.py:1399–1403  ·  view source on GitHub ↗
(f, strmap)

Source from the content-addressed store, hash-verified

1397
1398
1399def write_stringmap(f, strmap):
1400 write_short(f, len(strmap))
1401 for k, v in strmap.items():
1402 write_string(f, k)
1403 write_string(f, v)
1404
1405
1406def read_bytesmap(f):

Callers 2

send_bodyMethod · 0.85

Calls 3

write_shortFunction · 0.85
write_stringFunction · 0.85
itemsMethod · 0.45

Tested by 1