Construct a writer and immediately serialize the given items into the vector.

Synopsis

Declared in <streams.h>

template<typename... Args>
VectorWriter(
    std::vector<unsigned char>& vchDataIn,
    size_t nPosIn,
    Args&&... args);

Parameters

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.

Created with MrDocs