pub fn write_to_extend<E: FromSlice>( v: &E, out: &mut impl Extend<u8>, ) -> Result<(), &'static str>
io-core