[#CExtPubKey-Encode]
= xref:CExtPubKey.adoc[CExtPubKey]::Encode
:relfileprefix: ../
:mrdocs:

Serialize this extended public key into the BIP32 byte encoding (without version)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
Encode(unsigned char code[]) const;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *code*
| Output buffer receiving the BIP32&hyphen;encoded key&period;
|===


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