ToByteVector

Copies the bytes of a container into a byte vector.

Synopsis

Declared in <script/script.h>

template<typename T>
std::vector<unsigned char>
ToByteVector(T const& in);

Return Value

A vector holding the bytes of in.

Parameters

NameDescription
inContainer whose elements are copied into the result.