csendian.h
来自「CSLIB, a C++ database library.」· C头文件 代码 · 共 40 行
H
40 行
/***********************************************************************
CSA Library, Free Evaluation Version 2.2.0
Release: June 9th 1997
Functions to read/write U/S8, U/S16 and U/S32 types
from/to a little-endian file.
The return value will be 0 on success, and EOF on failure.
Copyright(c) 1994-1997
ComBits
The Netherlands
***********************************************************************/
#ifndef __CSENDIAN_H
#define __CSENDIAN_H
#include "stdio.h"
#include "cstypes.h"
int ReadS8l(FILE *f, S8 &i);
int ReadU8l(FILE *f, U8 &i);
int ReadS16l(FILE *f, S16 &i);
int ReadU16l(FILE *f, U16 &i);
int ReadS32l(FILE *f, S32 &i);
int ReadU32l(FILE *f, U32 &i);
int WriteS8l(FILE *f, S8 i);
int WriteU8l(FILE *f, U8 i);
int WriteS16l(FILE *f, S16 i);
int WriteU16l(FILE *f, U16 i);
int WriteS32l(FILE *f, S32 i);
int WriteU32l(FILE *f, U32 i);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?