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

Method __init__

pager_lib/pyasn1/codec/ber/decoder.py:1985–1989  ·  view source on GitHub ↗
(self, substrate, asn1Spec=None, **options)

Source from the content-addressed store, hash-verified

1983 SINGLE_ITEM_DECODER = SingleItemDecoder
1984
1985 def __init__(self, substrate, asn1Spec=None, **options):
1986 self._singleItemDecoder = self.SINGLE_ITEM_DECODER(**options)
1987 self._substrate = asSeekableStream(substrate)
1988 self._asn1Spec = asn1Spec
1989 self._options = options
1990
1991 def __iter__(self):
1992 while True:

Callers

nothing calls this directly

Calls 1

asSeekableStreamFunction · 0.90

Tested by

no test coverage detected