read_array_helper< ReadType, ValueType, true > Struct Template Reference
#include <map_io.h>
Static Public Member Functions | |
static std::streamsize | read_array_from_stream (std::istream &in, ValueType *vals, const size_t n, const size_t offset=0) |
static std::streamsize | read_array_from_stream (char *&in, ValueType *vals, const size_t n, const size_t offset=0) |
Detailed Description
template<typename ReadType, typename ValueType>
struct illumina::interop::io::read_array_helper< ReadType, ValueType, true >
Helper to read an array
Specialization for when ReadType and ValueType are the same size
Member Function Documentation
|
inlinestatic |
Read an array of values of type ReadType from the given input stream
TODO: create more efficient buffered version
- Parameters
-
in input stream vals destination array of values n number of values to read offset offset into the destination array
- Returns
- number of bytes read from the stream
|
inlinestatic |
Read an array of values of type ReadType from the given input stream
TODO: create more efficient buffered version
- Parameters
-
in input stream vals destination array of values n number of values to read offset offset into the destination array
- Returns
- number of bytes read from the stream
The documentation for this struct was generated from the following file:
- /io/interop/io/format/map_io.h