A source taking an std::istream as input.
More...
#include <stream-source.hpp>
A source taking an std::istream as input.
Definition at line 34 of file stream-source.hpp.
◆ StreamSource()
ndn::security::transform::StreamSource::StreamSource |
( |
std::istream & |
is, |
|
|
size_t |
bufLen = DEFAULT_BUFFER_LEN |
|
) |
| |
|
explicit |
Construst a source using is
as input.
- Parameters
-
is | The input stream |
bufLen | The internal buffer size. The default size is 1024. |
- Precondition
- bufLen must be larger than 0.
Definition at line 33 of file stream-source.cpp.
◆ DEFAULT_BUFFER_LEN
const std::size_t ndn::security::transform::StreamSource::DEFAULT_BUFFER_LEN = 1024 |
|
static |
The documentation for this class was generated from the following files: