We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bfcaea6 + de3d092 commit 988332fCopy full SHA for 988332f
adafruit_minimqtt/adafruit_minimqtt.py
@@ -1046,16 +1046,6 @@ def _recv_len(self):
1046
return n
1047
sh += 7
1048
1049
- def _recv_into(self, buf, size=0):
1050
- """Backwards-compatible _recv_into implementation."""
1051
- if self._backwards_compatible_sock:
1052
- size = len(buf) if size == 0 else size
1053
- b = self._sock.recv(size)
1054
- read_size = len(b)
1055
- buf[:read_size] = b
1056
- return read_size
1057
- return self._sock.recv_into(buf, size)
1058
-
1059
def _sock_exact_recv(self, bufsize):
1060
"""Reads _exact_ number of bytes from the connected socket. Will only return
1061
string with the exact number of bytes requested.
0 commit comments