hdac SDK
SDK for hdac blockchain development
|
#include <streams.h>
Public 멤버 함수 | |
CBufferedFile (FILE *fileIn, uint64_t nBufSize, uint64_t nRewindIn, int nTypeIn, int nVersionIn) | |
void | fclose () |
bool | eof () const |
CBufferedFile & | read (char *pch, size_t nSize) |
uint64_t | GetPos () |
bool | SetPos (uint64_t nPos) |
bool | Seek (uint64_t nPos) |
bool | SetLimit (uint64_t nPos=(uint64_t)(-1)) |
template<typename T > | |
CBufferedFile & | operator>> (T &obj) |
void | FindByte (char ch) |
Protected 멤버 함수 | |
bool | Fill () |
Non-refcounted RAII wrapper around a FILE* that implements a ring buffer to deserialize from. It guarantees the ability to rewind a given number of bytes.
Will automatically close the file when it goes out of scope if not null. If you need to close the file early, use file.fclose() instead of fclose(file).