a std::istream class that can can wrap Stream objects, can use istream with that output to underlying Stream
More...
#include <io.h>
a std::istream class that can can wrap Stream objects, can use istream with that output to underlying Stream
Usage example:
dmlc::istream::istream |
( |
Stream * |
stream, |
|
|
size_t |
buffer_size = (1 << 10) |
|
) |
| |
|
inlineexplicit |
construct std::ostream type
- Parameters
-
stream | the Stream output to be used |
buffer_size | internal buffer size |
virtual dmlc::istream::~istream |
( |
| ) |
|
|
inlinevirtual |
size_t dmlc::istream::bytes_read |
( |
void |
| ) |
const |
|
inline |
- Returns
- how many bytes we read so far
void dmlc::istream::set_stream |
( |
Stream * |
stream | ) |
|
|
inline |
set internal stream to be stream, reset states
- Parameters
-
stream | new stream as output |
The documentation for this class was generated from the following file:
- /work/mxnet/3rdparty/dmlc-core/include/dmlc/io.h