@staticmethod
    def padCellBytes(cell_bytes, link_version=3):
        PAD_BYTE = '\x00'
        if link_version <= 3:
            pad_len = DEF.FIXED_LEN_V3_LEN
        else:
            pad_len = DEF.FIXED_LEN_V4_LEN
        return cell_bytes + PAD_BYTE * (pad_len - len(cell_bytes))
Pad cell_bytes to uniform length.
dataset/ETHPy150Open nskinkel/oppy/oppy/cell/fixedlen.py/FixedLenCell.padCellBytes