logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ms_gswap - Generalized, in-place byte swapping routines

Author

       Chad Trabant
       IRIS Data Management Center

Libmseed API                                       2006/12/20                                        MS_GSWAP(3)

Description

       These  routines  swap  between  LSBF  (little-endian)  and  MSBF (big-endian) byte orders.  The specified
       quantities are swapped in-place.

       The ms_gswap*a routines are provided for backwards compatibility, but should not be  used  in  new  code.
       They are aliases for the regular versions above.

Name

       ms_gswap - Generalized, in-place byte swapping routines

Synopsis

#include<libmseed.h>voidms_gswap2(void*data2);voidms_gswap3(void*data3);voidms_gswap4(void*data4);voidms_gswap8(void*data8);voidms_gswap2a(void*data2);voidms_gswap4a(void*data4);voidms_gswap8a(void*data8);

See Also