def big_endian(original_class):
orig_init = original_class.__init__<EOL>def __init__(self, *args, **kwargs):<EOL><INDENT>orig_init(self, *args, **kwargs)<EOL>self.endian = "<STR_LIT>"<EOL><DEDENT>original_class.__init__ = __init__<EOL>return original_class<EOL>
The big_endian function is a class decorator for classes derived from
    :class:`.StructTemplate`. By default a StructTemplate class interpretes its
    fields in little endian format. Using this decorator you change this
    behavior.

    :param original_class: The class you want to turn into a big endian
                           structure.