'Transmit byte list (Packet.bytes) on serial conneciton'

def _sendBytes(self):

    if (self.encoded == True):
        for d in self.bytes:
            serialPort.write(chr(d))
    else:
        raise _SNAPError('Trying    to    send    a    packet    that    has    not    been    encoded')
