Function pgp::util::write_all

source ·
pub fn write_all(writer: &mut impl Write, buf: &[u8]) -> Result<()>
Expand description

The same as the std lib, but doesn’t choke on write 0. This is a hack, to be compatible with rust-base64.