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

Function read_string

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

Source from the content-addressed store, hash-verified

1341
1342
1343def read_string(f):
1344 size = read_short(f)
1345 contents = f.read(size)
1346 return contents.decode('utf8')
1347
1348
1349def read_binary_string(f):

Callers 15

recv_bodyMethod · 0.85
recv_error_infoMethod · 0.85
recv_error_infoMethod · 0.85
recv_error_infoMethod · 0.85
recv_error_infoMethod · 0.85
recv_bodyMethod · 0.85
recvMethod · 0.85
recv_results_metadataMethod · 0.85
read_typeMethod · 0.85
recv_bodyMethod · 0.85

Calls 3

read_shortFunction · 0.85
readMethod · 0.80
decodeMethod · 0.80

Tested by 1