pub fn program_exiting_successful_decoding(result: DecoderResult)Expand description
Prints the final output of a successful decoding operation.
This function handles the presentation of decoded text, including special handling for invisible characters and file output options.
§Arguments
result- The DecoderResult containing the decoded text and metadata
§Behavior
- Checks for API mode and returns early if enabled
- Formats the decoder path with arrows
- Handles invisible character detection and file output
- Presents the decoded text with appropriate formatting
§Panics
Panics if there is an error writing to file when output_method is set to a file