⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qccbinary.3

📁 spiht for linux this is used to decod and encode vedio i wich all enjoy
💻 3
字号:
.TH QCCBINARY 3 "QCCPACK" "".SH NAMEQccBinaryCharToInt,QccBinaryIntToChar,QccBinaryCharToFloat,QccBinaryFloatToChar\- convert integers and floating-point values into character arrays.SH SYNOPSIS.B #include "libQccPack.h".sp.B #define QCC_INT_SIZE 4.br.sp.BI "int QccBinaryCharToInt(const unsigned char *" ch ", unsigned int *" val );.br.BI "int QccBinaryIntToChar(unsigned int " val ", unsigned char *" ch );.br.BI "int QccBinaryCharToFloat(const unsigned char *" ch ", float *" val );.br.BI "int QccBinaryFloatToChar(float " val ", unsigned char *" ch );.SH DESCRIPTIONAll binary-valued numbers stored to files by QccPack have theirmost-significant byte (MSB) written first.However, whether the host computer stores binary values in MSB-first (Big Endian) or LSB-first (Little Endian)format depends on the architecture of machine.These routines convert between the MSB-first values used in QccPack filesand.B intor.B floatvalues with the host byte order.  Thus, files written by QccPack programs should thenbe portable across different architectures..LPFor each of the routines,.I chis an array of characters containing.B QCC_INT_SIZEbytes..LP.B QccBinaryCharToInt()converts a MSB-first.BR QCC_INT_SIZE -lengthcharacter array to an.BR int ..B QccBinaryIntToChar()converts an.B intto a MSB-first.BR QCC_INT_SIZE -lengthcharacter array..LP.B QccBinaryCharToFloat()converts a MSB-first.BR QCC_INT_SIZE -lengthcharacter array to an.BR float ..B QccBinaryFloatToChar()converts an.B floatto a MSB-first.BR QCC_INT_SIZE -lengthcharacter array..SH "SEE ALSO".BR QccPack (3).SH NOTESThese routines rely on .B intand.B floatvalues being .B QCC_INT_SIZE(four) bytes long (i.e., 32-bit values).Although it seems that this is the case for modern computer systems,some 64-bit systems might use longer values..SH AUTHORCopyright (C) 1997-2009  James E. Fowler.\"  The programs herein are free software; you can redistribute them an.or.\"  modify them under the terms of the GNU General Public License.\"  as published by the Free Software Foundation; either version 2.\"  of the License, or (at your option) any later version..\"  .\"  These programs are distributed in the hope that they will be useful,.\"  but WITHOUT ANY WARRANTY; without even the implied warranty of.\"  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the.\"  GNU General Public License for more details..\"  .\"  You should have received a copy of the GNU General Public License.\"  along with these programs; if not, write to the Free Software.\"  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -