Function bitcoin_scripting::serialize_to_vector
source · pub fn serialize_to_vector<Stream, X>(s: &mut Stream, args: &X)
Expand description
| Takes a stream and multiple arguments and | serializes them as if first serialized into | a vector and then into the stream | | The resulting output into the stream has the | total serialized length of all of the objects | followed by all objects concatenated with each | other.