[#CExtPubKey-EncodeWithVersion] = xref:CExtPubKey.adoc[CExtPubKey]::EncodeWithVersion :relfileprefix: ../ :mrdocs: Serialize this extended public key into the BIP32 byte encoding including the version prefix. == Synopsis Declared in `<pubkey.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void EncodeWithVersion(unsigned char code[]) const; ---- == Parameters [cols="1,4"] |=== | Name| Description | *code* | Output buffer receiving the versioned BIP32‐encoded key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#