

def send(self, data):
    data_len = struct.pack('!I', len(data))
    sent = self.ssl.write((data_len + data))
    assert (sent == (len(data) + 4))
    return sent

dataset/ETHPy150Open stevenle/googletv-anymote/googletv/__init__.py BaseProtocol.send/original