Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1343
def
read_string(f):
1344
size = read_short(f)
1345
contents = f.read(size)
1346
return
contents.decode(
'utf8'
)
1347
1348
1349
def
read_binary_string(f):
Callers
15
test_write_read_string
Method · 0.90
recv_body
Method · 0.85
recv_error_info
Method · 0.85
recv_error_info
Method · 0.85
recv_error_info
Method · 0.85
recv_error_info
Method · 0.85
recv_body
Method · 0.85
recv
Method · 0.85
recv_results_metadata
Method · 0.85
recv_prepared_metadata
Method · 0.85
read_type
Method · 0.85
recv_body
Method · 0.85
Calls
3
read_short
Function · 0.85
read
Method · 0.80
decode
Method · 0.80
Tested by
1
test_write_read_string
Method · 0.72