1 #ifndef rawrite_HEADER_GUARD
2 #define rawrite_HEADER_GUARD
70 RaWriter(
const char* filename,
bool direct =
false);
77 char tmp[FS_GRAIN_SIZE];
84 void dump(
const char* buf, std::size_t len);
86 void fill(std::size_t len);
99 RawReader(
const char* filename,
bool direct =
false);
103 std::string filename;
106 char tmp[FS_GRAIN_SIZE];
107 void *ptmp = &tmp[0];
113 void get(
char* buf, std::size_t len);
115 void seek(off_t len);
void fill(std::size_t len)
write null bytes
Definition: rawrite.cpp:116
void dump(const char *buf, std::size_t len)
write with buffering. flush occurs at grain boundaries
Definition: rawrite.cpp:89
void finish()
write null bytes up to the end of grain
Definition: rawrite.cpp:145
List of common header files.
Constant/default values, version numbers.