MCPcopy
hub / github.com/PyMySQL/PyMySQL / read_all

Method read_all

pymysql/protocol.py:77–84  ·  view source on GitHub ↗

Read all remaining data in the packet. (Subsequent read() will return errors.)

(self)

Source from the content-addressed store, hash-verified

75 return result
76
77 def read_all(self):
78 """Read all remaining data in the packet.
79
80 (Subsequent read() will return errors.)
81 """
82 result = self._data[self._position :]
83 self._position = None # ensure no subsequent read()
84 return result
85
86 def advance(self, length):
87 """Advance the cursor in data buffer 'length' bytes."""

Callers 5

sha256_password_authFunction · 0.80
_process_authMethod · 0.80
__init__Method · 0.80
authenticateMethod · 0.80

Calls

no outgoing calls

Tested by 1

authenticateMethod · 0.64