[#CPubKey-ValidSize] = xref:CPubKey.adoc[CPubKey]::ValidSize :relfileprefix: ../ :mrdocs: Check whether a byte vector has a valid public key length for its header byte. == Synopsis Declared in `<pubkey.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool ValidSize(std::vector<unsigned char> const& vch); ---- == Return Value true if the vector's length matches the length implied by its first byte. == Parameters [cols="1,4"] |=== | Name| Description | *vch* | The candidate serialized public key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#