Adding support for template swap function to handle struct endian.
Adding support for template swap function to handle struct endian.

dansut/Cosa,rrobinet/Cosa,kc9jud/Cosa,kc9jud/Cosa,rrobinet/Cosa,kc9jud/Cosa,SinishaDjukic/Meshwork,mikaelpatel/Cosa,mikaelpatel/Cosa,SinishaDjukic/Meshwork,mikaelpatel/Cosa,dansut/Cosa,SinishaDjukic/Meshwork,jeditekunum/Cosa,mikaelpatel/Cosa,jeditekunum/Cosa,dansut/Cosa,dansut/Cosa,rrobinet/Cosa,rrobinet/Cosa,jeditekunum/Cosa,kc9jud/Cosa,jeditekunum/Cosa,SinishaDjukic/Meshwork