Converts the given public key to a bytestring
The public key to convert.
Optional
Whether the public key has already been compressed.
A byte array representing the converted public key.
Converts the given public key to a bytestring