profile_text_layout

Function profile_text_layout 

Source
pub fn profile_text_layout(
    data: &[u8],
    encoding: IdentifiedEncoding,
) -> TextProfile
Expand description

Profiles text layout conventions, line endings, long lines, and escape sequences. Ported from file_ascmagic_with_encoding in ascmagic.c.