MCPcopy
hub / github.com/mitmproxy/mitmproxy / __init__

Method __init__

mitmproxy/contrib/wbxml/ASWBXMLByteQueue.py:35–47  ·  view source on GitHub ↗
(self, wbxmlBytes)

Source from the content-addressed store, hash-verified

33class 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

Callers

nothing calls this directly

Calls 2

putMethod · 0.45
debugMethod · 0.45

Tested by

no test coverage detected