Skip to main content

Module search

Module search 

Available on crate feature inspect only.
Expand description

Match displayed values or streamed bytes without buffering their formatted content.

Functions§

matches_display
matches_hex_reader
Search the hex display of bytes, including when the payload is valid UTF-8. This is useful when a protocol explicitly classifies a payload as binary.
matches_reader
Search the same UTF-8-debug-or-hex representation as rama_utils::fmt::utf8_or_hex. Memory is bounded by the query and a 16 KiB read buffer. Both representations are matched in one pass; EOF determines whether the complete payload is valid UTF-8.