reader of binary recordio to reads in record from stream
More...
#include <recordio.h>
|
| RecordIOReader (Stream *stream) |
| constructor
|
|
bool | NextRecord (std::string *out_rec) |
| read next complete record from stream
|
|
void | Seek (size_t pos) |
| seek to certain position of the input stream
|
|
size_t | Tell (void) |
| tell the current position of the input stream
|
|
reader of binary recordio to reads in record from stream
- See also
- RecordIOWriter
◆ RecordIOReader()
dmlc::RecordIOReader::RecordIOReader |
( |
Stream * |
stream | ) |
|
|
inlineexplicit |
constructor
- Parameters
-
stream | the stream to be constructed |
◆ NextRecord()
bool dmlc::RecordIOReader::NextRecord |
( |
std::string * |
out_rec | ) |
|
read next complete record from stream
- Parameters
-
out_rec | used to store output record in string |
- Returns
- true of read was successful, false if end of stream was reached
The documentation for this class was generated from the following files: