pub fn to_writer<B: Flags>(flags: &B, writer: impl Write) -> Result<(), Error>where B::Bits: WriteHex,
Write a flags value as text.
Any bits that aren’t part of a contained flag will be formatted as a hex number.