gswap2.3
来自「C编写的格式转换程序」· 3 代码 · 共 39 行
3
39 行
.TH GSWAP 3 2004/11/22 "Libmseed API".SH DESCRIPTIONGeneralized, in-place byte swapping routines.SH SYNOPSIS.nf.B #include <libmseed.h>.BI "void \fBgswap2\fP ( void *" data2 " );".BI "void \fBgswap3\fP ( void *" data3 " );".BI "void \fBgswap4\fP ( void *" data4 " );".BI "void \fBgswap8\fP ( void *" data8 " );".BI "void \fBgswap2a\fP ( void *" data2 " );".BI "void \fBgswap4a\fP ( void *" data4 " );".BI "void \fBgswap8a\fP ( void *" data8 " );".fi.SH DESCRIPTIONThese routines swap between LSBF (little-endian) and MSBF (big-endian)byte orders. The specified quantities are swapped in-place. Thereare two versions of most routines: a generic one that works onquantities regardless of memory alignment (gswap#) and one that workson memory aligned quantities (gswap#a). The versions for memoryaligned quantities are much faster than their generic versions, butthe memory *must* be aligned. You have been warned. There is only ageneric version for 3-byte quantities..SH AUTHOR.nfChad TrabantIRIS Data Management Center.fi
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?