A simple Json implementation for future use. (#4708)
* A simple Json implementation for future use.
This commit is contained in:
@@ -70,6 +70,10 @@ class PeekableInStream : public dmlc::Stream {
|
||||
/*! \brief internal buffer */
|
||||
std::string buffer_;
|
||||
};
|
||||
|
||||
// Optimized for consecutive file loading in unix like systime.
|
||||
std::string LoadSequentialFile(std::string fname);
|
||||
|
||||
} // namespace common
|
||||
} // namespace xgboost
|
||||
#endif // XGBOOST_COMMON_IO_H_
|
||||
|
||||
Reference in New Issue
Block a user