@staticmethod
def unpad(data):
    """ Un-Padding for data

        :param data: Data to be un-padded
        :return: Data with removed padding """
    p = None
    for x in data[::-1]:
        if x is 0:
            continue
        elif x is not 0:
            p = x
            break
    data = data[::-1]
    data = data[p:]
    return data[::-1]
