MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / __init__

Method __init__

pager_lib/pyasn1/codec/streaming.py:23–26  ·  view source on GitHub ↗
(self, raw)

Source from the content-addressed store, hash-verified

21 setting _markedPosition which may reset the cache.
22 """
23 def __init__(self, raw):
24 self._raw = raw
25 self._cache = io.BytesIO()
26 self._markedPosition = 0
27
28 def peek(self, n):
29 result = self.read(n)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected