Module to bytes- or hex-encode bitcoin objects using the bitcoin encoding
It is not recommended to use this for types that already have a string-based serde encoding like PublicKey or the hashes like Txid.
PublicKey
Txid