pub fn to_writer_truncate<B: Flags>( flags: &B, writer: impl Write, ) -> Result<(), Error>where B::Bits: WriteHex,
Write a flags value as text, ignoring any unknown bits.