pub fn write_into<W: io::Write>(&self, mut writer: W) {
        let write_res: io::Result<()> = if self.compressed {
            writer.write_all(&self.key.serialize())
        } else {
            writer.write_all(&self.key.serialize_uncompressed())
        };
        debug_assert!(write_res.is_ok());
    }
/// Write the public key into a writer
Write the public key into a writer
Write the public key into a writer
pub fn write_into<W: io::Write>(&self, mut writer: W) {
        let write_res: io::Result<()> = if self.compressed {
            writer.write_all(&self.key.serialize())
        } else {
            writer.write_all(&self.key.serialize_uncompressed())
        };
        debug_assert!(write_res.is_ok());
    }
pub fn write_into < W : io :: Write > ( & self , mut writer : W ) { let write_res : io :: Result < ( ) > = if self . compressed { writer . write_all ( & self . key . serialize ( ) ) } else { writer . write_all ( & self . key . serialize_uncompressed ( ) ) } ; debug_assert ! ( write_res is_ok ( ) ) ; }
Write the public key into a writer
Write the public key into a writer
&self
writer
W
&self
writer
W