MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / read_all

Method read_all

pymysql/protocol.py:76–83  ·  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

74 return result
75
76 def read_all(self):
77 """Read all remaining data in the packet.
78
79 (Subsequent read() will return errors.)
80 """
81 result = self._data[self._position :]
82 self._position = None # ensure no subsequent read()
83 return result
84
85 def advance(self, length):
86 """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