@staticmethod
def encode_large_value(value):
    """
        Inverse function of :py:meth:`~.ObjectIdentifier.decode_large_value`
        """
    if value <= 127:
        return [value]
    output = [value & 127]
    value = value >> 7
    while value:
        output.append(value & 127 | 128)
        value = value >> 7
    output.reverse()
    return output
