read_array_helper< ReadType, ValueType, SameSize > 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, bool SameSize = sizeof(ReadType)==sizeof(ValueType)>
struct illumina::interop::io::read_array_helper< ReadType, ValueType, SameSize >
Helper to read an array
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