#ifndef __NETIO_H_ #define __NETIO_H_ #include "datatype.h" #if SUPPORT_INT64 int write_uint64(T_UINT8* buffer,uint64_t d); int write_int64(T_UINT8* buffer,int64_t d); int read_uint64(const T_UINT8* buffer,uint64_t* d); int read_int64(const T_UINT8* buffer,int64_t* d); #endif int write_uint8(T_UINT8* buffer,T_UINT8 d); int write_uint16(T_UINT8* buffer,T_UINT16 d); int write_uint32(T_UINT8* buffer,T_UINT32 d); int write_int8(T_UINT8* buffer,T_INT8 d); int write_int16(T_UINT8* buffer,T_INT16 d); int write_int32(T_UINT8* buffer,T_INT32 d); int read_uint8(const T_UINT8* buffer,T_UINT8* d); int read_uint16(const T_UINT8* buffer,T_UINT16* d); int read_uint32(const T_UINT8* buffer,T_UINT32* d); int read_int8(const T_UINT8* buffer,T_INT8* d); int read_int16(const T_UINT8* buffer,T_INT16* d); int read_int32(const T_UINT8* buffer,T_INT32* d); #endif