detect_empty_file

Function detect_empty_file 

Source
pub fn detect_empty_file<S: DetectionSource + ?Sized>(
    source: &mut S,
) -> Option<DetectionCandidate>
Expand description

Detects whether a source is an empty 0-byte file/stream.