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

Class Decoder

pager_lib/pyasn1/codec/native/decoder.py:188–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186
187
188class Decoder(object):
189 SINGLE_ITEM_DECODER = SingleItemDecoder
190
191 def __init__(self, **options):
192 self._singleItemDecoder = self.SINGLE_ITEM_DECODER(**options)
193
194 def __call__(self, pyObject, asn1Spec=None, **kwargs):
195 return self._singleItemDecoder(pyObject, asn1Spec=asn1Spec, **kwargs)
196
197
198#: Turns Python objects of built-in types into ASN.1 objects.

Callers 1

decoder.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected