pub fn detect_text_dump<R: Read>(reader: R) -> Result<(bool, Vec<u8>)>Expand description
Detect whether a reader contains a Cisco sh ip bgp text dump.
Reads up to 256 bytes and returns them alongside the detection result so callers can chain the buffered bytes into the actual parser.