[#DeserializeKeyOrigin]
= DeserializeKeyOrigin
:mrdocs:

Deserialize a fixed number of bytes from a stream as a KeyOriginInfo&period;

== Synopsis

Declared in `&lt;psbt&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Stream&gt;
xref:KeyOriginInfo.adoc[KeyOriginInfo]
DeserializeKeyOrigin(
    Stream& s,
    uint64&lowbar;t length);
----

== Return Value

The decoded key origin information&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| The input stream&period;
| *length*
| The number of key&hyphen;path bytes to read&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
