pub fn to_bytes(&self) -> [u8; 64] {
        let mut buf = [0u8; 64];
        buf[..32].copy_from_slice(self.precompressed_pubkey.as_bytes());
        buf[32..].copy_from_slice(&self.dk);
        buf
    }
/// Serializes this Xpub to a sequence of bytes.
Serializes this Xpub to a sequence of bytes.
Serializes this Xpub to a sequence of bytes .
pub fn to_bytes(&self) -> [u8; 64] {
        let mut buf = [0u8; 64];
        buf[..32].copy_from_slice(self.precompressed_pubkey.as_bytes());
        buf[32..].copy_from_slice(&self.dk);
        buf
    }
pub fn to_bytes ( & self ) -> [ u8 ; 64 ] { let mut buf = [ 0u8 ; 64 ] ; buf [ .. 32 ] . copy_from_slice ( self . precompressed_pubkey . as_bytes ( ) ) ; buf [ 32 .. ] . copy_from_slice ( & self . dk ) ; buf }
Serializes this Xpub to a sequence of bytes.
Serializes this Xpub to a sequence of bytes .
&self
&self