def pack(self, val):
        rval = bytes(val[:self.size], "ascii")

        if self.size < len(rval):
            paddinglen = self.size - len(rval)
            rval += self.padding * paddinglen

        return rval
dataset/ETHPy150Open chrippa/livestreamer/src/livestreamer/packages/flashmedia/types.py/PaddedBytes.pack/swapped operands of `<`