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

Method asNumbers

pager_lib/pyasn1/type/univ.py:536–542  ·  view source on GitHub ↗

Get |ASN.1| value as a sequence of 8-bit integers. If |ASN.1| object length is not a multiple of 8, result will be left-padded with zeros.

(self)

Source from the content-addressed store, hash-verified

534 return float(self._value)
535
536 def asNumbers(self):
537 """Get |ASN.1| value as a sequence of 8-bit integers.
538
539 If |ASN.1| object length is not a multiple of 8, result
540 will be left-padded with zeros.
541 """
542 return tuple(self.asOctets())
543
544 def asOctets(self):
545 """Get |ASN.1| value as a sequence of octets.

Callers 1

encodeValueMethod · 0.45

Calls 1

asOctetsMethod · 0.95

Tested by

no test coverage detected