64 #ifndef prof_lean_hpcio_h 65 #define prof_lean_hpcio_h 78 #if defined(__cplusplus) 86 #define HPCIO_RWBufferSz (4 * 1024 * 1024) 176 #if defined(__cplusplus) FILE * hpcio_fopen_r(const char *fnm)
size_t hpcio_be8_fread(uint64_t *val, FILE *fs)
size_t hpcio_le4_fwrite(uint32_t *val, FILE *fs)
FILE * hpcio_fopen_rw(const char *fnm)
FILE * hpcio_fopen_w(const char *fnm, int overwrite)
size_t hpcio_beX_fread(uint8_t *val, size_t size, FILE *fs)
size_t hpcio_le8_fread(uint64_t *val, FILE *fs)
size_t hpcio_le4_fread(uint32_t *val, FILE *fs)
size_t hpcio_be2_fwrite(uint16_t *val, FILE *fs)
size_t hpcio_le2_fwrite(uint16_t *val, FILE *fs)
size_t hpcio_be4_fread(uint32_t *val, FILE *fs)
size_t hpcio_be8_fwrite(uint64_t *val, FILE *fs)
size_t hpcio_beX_fwrite(uint8_t *val, size_t size, FILE *fs)
size_t hpcio_le2_fread(uint16_t *val, FILE *fs)
size_t hpcio_le8_fwrite(uint64_t *val, FILE *fs)
int hpcio_fclose(FILE *fs)
size_t hpcio_be2_fread(uint16_t *val, FILE *fs)
size_t hpcio_be4_fwrite(uint32_t *val, FILE *fs)