hdac SDK
SDK for hdac blockchain development
Public 멤버 함수 | Protected 멤버 함수 | 모든 멤버 목록
CBufferedFile 클래스 참조

#include <streams.h>

Public 멤버 함수

 CBufferedFile (FILE *fileIn, uint64_t nBufSize, uint64_t nRewindIn, int nTypeIn, int nVersionIn)
 
void fclose ()
 
bool eof () const
 
CBufferedFileread (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 >
CBufferedFileoperator>> (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).


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: