def addfield(self, pkt, s, val):
        sval = self._fld.addfield(pkt, b"", val)
        return s+sval+struct.pack("%is" % (self.padlen(len(sval))), self._padwith)
dataset/ETHPy150Open phaethon/scapy/scapy/fields.py/PadField.addfield/original