📄 gswap2.3
字号:
.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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -