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

Method asInteger

pager_lib/pyasn1/type/univ.py:552–555  ·  view source on GitHub ↗

Get |ASN.1| value as a single integer value.

(self)

Source from the content-addressed store, hash-verified

550 return integer.to_bytes(self._value, length=len(self))
551
552 def asInteger(self):
553 """Get |ASN.1| value as a single integer value.
554 """
555 return self._value
556
557 def asBinary(self):
558 """Get |ASN.1| value as a text string of bits.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected