#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 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