Service_NSSM/CC_SDK/Include/Module/File/CCFIleInStream.h
2025-09-27 14:24:18 +08:00

24 lines
500 B
C++

#ifndef CCFIleInStream_H
#define CCFIleInStream_H
#include "CC.h"
using CCInStream = std::ifstream;
class CCFileInStream:public CCInStream
{
public:
using std::ifstream::basic_ifstream;
public:
static CTL::String ReadFileDataAll(const CTL::String& filename);
static CCVector<char> ReadBinaryFile(const CTL::String& filename);
static bool ReadData(CCFileInStream &file,CTL::String &line);
bool ReadData(CTL::ByteArray &data,size_t size = 1024);
private:
protected:
};
#endif