📄 ms_gswap.3
字号:
.TH MS_GSWAP 3 2006/12/20 "Libmseed API".SH DESCRIPTIONGeneralized, in-place byte swapping routines.SH SYNOPSIS.nf.B #include <libmseed.h>.BI "void \fBms_gswap2\fP ( void *" data2 " );".BI "void \fBms_gswap3\fP ( void *" data3 " );".BI "void \fBms_gswap4\fP ( void *" data4 " );".BI "void \fBms_gswap8\fP ( void *" data8 " );".BI "void \fBms_gswap2a\fP ( void *" data2 " );".BI "void \fBms_gswap4a\fP ( void *" data4 " );".BI "void \fBms_gswap8a\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 (ms_gswap#) and one that workson memory aligned quantities (ms_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 + -