pub const PRINTABLE_ASCII_THRESHOLD: f32 = 0.7;
The threshold for considering a buffer to be printable ASCII.
This is used to determine whether a file is likely to be a text file based on a sample of its contents.