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

Method encode

pager_lib/pyasn1/codec/native/encoder.py:30–31  ·  view source on GitHub ↗
(self, value, encodeFun, **options)

Source from the content-addressed store, hash-verified

28
29class BooleanEncoder(AbstractItemEncoder):
30 def encode(self, value, encodeFun, **options):
31 return bool(value)
32
33
34class IntegerEncoder(AbstractItemEncoder):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected