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.
pub fn detect_empty_file<S: DetectionSource + ?Sized>(
source: &mut S,
) -> Option<DetectionCandidate>Detects whether a source is an empty 0-byte file/stream.