module
Crowbar::Detector
Overview
Automatic format and protocol detector inspecting magic bytes, framing signatures, and syntactical prefixes across media, network protocols, structured data, and code.
Defined in:
crowbar/rules/detector.crClass Method Summary
-
.detect(buffer : Buffer) : Symbol | Nil
Inspects buffer contents and returns the best-matching format symbol, or nil if undetermined.