(self, wbxmlBytes)
| 33 | class ASWBXMLByteQueue(Queue): |
| 34 | |
| 35 | def __init__(self, wbxmlBytes): |
| 36 | |
| 37 | self.bytesDequeued = 0 |
| 38 | self.bytesEnqueued = 0 |
| 39 | |
| 40 | Queue.__init__(self) |
| 41 | |
| 42 | for byte in wbxmlBytes: |
| 43 | self.put(byte) |
| 44 | self.bytesEnqueued += 1 |
| 45 | |
| 46 | |
| 47 | logging.debug("Array byte count: %d, enqueued: %d" % (self.qsize(), self.bytesEnqueued)) |
| 48 | |
| 49 | """ |
| 50 | Created to debug the dequeueing of bytes |