| 26 | |
| 27 | |
| 28 | class BitStringPayloadDecoder(AbstractScalarPayloadDecoder): |
| 29 | def __call__(self, pyObject, asn1Spec, decodeFun=None, **options): |
| 30 | return asn1Spec.clone(univ.BitString.fromBinaryString(pyObject)) |
| 31 | |
| 32 | |
| 33 | class SequenceOrSetPayloadDecoder(object): |