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.
1 parent 342b8c9 commit de3d092Copy full SHA for de3d092
adafruit_minimqtt/adafruit_minimqtt.py
@@ -1040,16 +1040,6 @@ def _recv_len(self):
1040
return n
1041
sh += 7
1042
1043
- def _recv_into(self, buf, size=0):
1044
- """Backwards-compatible _recv_into implementation."""
1045
- if self._backwards_compatible_sock:
1046
- size = len(buf) if size == 0 else size
1047
- b = self._sock.recv(size)
1048
- read_size = len(b)
1049
- buf[:read_size] = b
1050
- return read_size
1051
- return self._sock.recv_into(buf, size)
1052
-
1053
def _sock_exact_recv(self, bufsize):
1054
"""Reads _exact_ number of bytes from the connected socket. Will only return
1055
string with the exact number of bytes requested.
0 commit comments