def i2m(self, pkt, x): # type: ignore # type: (ASN1_Packet, Optional[ASN1_Packet]) -> bytes s = b"" if x is None else raw(x) return super(ASN1F_BIT_STRING_ENCAPS, self).i2m(pkt, ASN1_BIT_STRING(s, readable=True))