Construct a writer and immediately serialize the given items into the vector.
Declared in <streams.h>
template<typename... Args>
VectorWriter(
std::vector<unsigned char>& vchDataIn,
size_t nPosIn,
Args&&... args);
| Name | Description |
|---|---|
| vchDataIn | Referenced byte vector to overwrite/append. |
| nPosIn | Starting position; vector index where writes should start. |
| args | Items to serialize into the vector starting at nPosIn. |