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

Method encodeValue

pager_lib/pyasn1/codec/ber/encoder.py:162–163  ·  view source on GitHub ↗
(self, value, asn1Spec, encodeFun, **options)

Source from the content-addressed store, hash-verified

160 supportIndefLenMode = False
161
162 def encodeValue(self, value, asn1Spec, encodeFun, **options):
163 return value and (1,) or (0,), False, False
164
165
166class IntegerEncoder(AbstractItemEncoder):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected