pub fn write_tim<B: Append>( buf: &mut B, header: &TimHeader, bitmap: &[u8], ) -> Result<(), FrameWriteError>