Lines Matching refs:bytes
36 not suitable because they don't allow direct raw bytes writing/reading.
50 bytes = request.connection.read(length)
51 if not bytes:
55 return bytes
58 def _write(request, bytes):
60 request.connection.write(bytes)
89 # mp_conn.read will block if no bytes are available.
100 bytes = _read_until(request, '\xff')
103 message = bytes.decode('utf-8', 'replace')
121 bytes = []
124 bytes.append(new_bytes)
126 return ''.join(bytes)
130 bytes = []
135 bytes.append(ch)
136 return ''.join(bytes)