def LittleEndianBitStruct(*args):
 return Buffered(BitStruct(*args), encoder=(lambda s: s[::(-1)]), decoder=(lambda s: s[::(-1)]), resizer=(lambda _: _))

def LittleEndianBitStruct ( * args ) : return Buffered ( BitStruct ( * args ) , encoder = ( lambda s : s [ : : ( - 1 ) ] ) , decoder = ( lambda s : s [ : : ( - 1 ) ] ) , resizer = ( lambda _ : _ ) )
constructs bit structs read a byte at a time in the order they appear .