reader of binary recordio to reads in record from stream
More...
#include <recordio.h>
reader of binary recordio to reads in record from stream
- See also
- RecordIOWriter
dmlc::RecordIOReader::RecordIOReader |
( |
Stream * |
stream | ) |
|
|
inlineexplicit |
constructor
- Parameters
-
stream | the stream to be constructed |
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
void dmlc::RecordIOReader::Seek |
( |
size_t |
pos | ) |
|
|
inline |
seek to certain position of the input stream
size_t dmlc::RecordIOReader::Tell |
( |
void |
| ) |
|
|
inline |
tell the current position of the input stream
The documentation for this class was generated from the following file:
- /work/mxnet/3rdparty/dmlc-core/include/dmlc/recordio.h