Skip to main content

detect

Function detect 

Source
pub fn detect(bytes: &[u8]) -> DetectedEncoding
Expand description

Classify raw bytes. Rule-based on purpose — no statistical guessing.