serialize static method
Serialize a public key.
Implementation
static String serialize(IPublicKey pubKey, Bip32KeyData keyData,
[Bip32KeyNetVersions? keyNetVer]) {
keyNetVer ??= Bip32Const.mainNetKeyNetVersions;
return _Bip32KeySerializer.serialize(
pubKey.compressed, keyData, keyNetVer.public);
}