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

Function read_bytesmap

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

Source from the content-addressed store, hash-verified

1404
1405
1406def read_bytesmap(f):
1407 numpairs = read_short(f)
1408 bytesmap = {}
1409 for _ in range(numpairs):
1410 k = read_string(f)
1411 bytesmap[k] = read_value(f)
1412 return bytesmap
1413
1414
1415def write_bytesmap(f, bytesmap):

Callers 1

decode_messageMethod · 0.85

Calls 3

read_shortFunction · 0.85
read_stringFunction · 0.85
read_valueFunction · 0.85

Tested by

no test coverage detected